Skip to content

Conversation

spaceraccoon
Copy link
Contributor

This adds support for optional path segments in rails as per #878 by recursively including/excluding optional path segments in parentheses. Additionally, this modifies the PathString.build method due to the need to handle multiple possible paths per route, but respects the non-mutation paradigm.

@spaceraccoon spaceraccoon force-pushed the spaceraccoon-add-optional-segments-handling branch from 4539dc6 to 96a39f4 Compare November 11, 2022 03:41
@spaceraccoon spaceraccoon force-pushed the spaceraccoon-add-optional-segments-handling branch from 96a39f4 to ffbebd2 Compare November 15, 2022 17:28
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.

2 participants