Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hanami-router #197

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Remove hanami-router #197

merged 2 commits into from
Nov 14, 2023

Conversation

ahx
Copy link
Owner

@ahx ahx commented Nov 14, 2023

PathItems and Operations can now be found by calling methods on a Definition.

This simplifies dependencies quite a bit and has no significant performance impact when running only very few paths. However, this will probably have an impact when dealing with a lot of paths (like hundreds).

- PathItem and Operation for a request can be found by calling methods on the Definitnion instance

This solves issue #155 (Capture names affects finding definitions for nested routes), but introduces a regression with using multiple variables in one path fragment. The regression is currently only marked with a pending test.
@ahx ahx changed the title Remove hanami router Remove hanami-router Nov 14, 2023
@ahx ahx merged commit 2845e91 into main Nov 14, 2023
2 checks passed
@ahx ahx deleted the remove-hanami-router branch November 14, 2023 13:40
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