Skip to content

Feature/nested paths#18

Open
ArvsIndrarys wants to merge 12 commits intomasterfrom
feature/nested_paths
Open

Feature/nested paths#18
ArvsIndrarys wants to merge 12 commits intomasterfrom
feature/nested_paths

Conversation

@ArvsIndrarys
Copy link
Contributor

Cache and Nested path functionnality

@ArvsIndrarys
Copy link
Contributor Author

Closes #6

@ArvsIndrarys
Copy link
Contributor Author

!! WARNING !! The unit test used is Mocha, it would be better to merge that branche after the #15 and #16 merge.

@ArvsIndrarys ArvsIndrarys force-pushed the feature/nested_paths branch from 22892fe to 127b77a Compare March 13, 2019 10:00
The production of a cache.dat file could be obscure so it is renamed to routing_cache.dat.
The tests did not use the value of that constant causing errors in case it was changed.
The first case was removed in Jest->Mocha PR .
The second test is an edge case test.
Had to separate the code of the route generation from the generate() function.
Generate() now only sets the options on the route loaded from cache.
Now occurs doing `new Routing(opts)` instead on the `generate(routeDef)` call.
@ArvsIndrarys
Copy link
Contributor Author

No follows the specification correction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant