Skip to content

Normalize routing information#17

Open
charlot-shaw wants to merge 3 commits intodynamic-alpha:mainfrom
charlot-shaw:normalize-routing-information
Open

Normalize routing information#17
charlot-shaw wants to merge 3 commits intodynamic-alpha:mainfrom
charlot-shaw:normalize-routing-information

Conversation

@charlot-shaw
Copy link

index-routes has a very narrow, constrained view of reitit's syntax.

Building the router and then asking it for the routes gives us all of reitit's expressiveness.

Use reitit's view of the routes so we
need neither limit ourselves to a
subset of it's capabilities nor
reimplement reitit's syntax.
Individual assertions are a bit ugly,
but I'd rather not bloat the toplevel to fix it.
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