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

Fix basename handling in router #2297

Merged
merged 1 commit into from
Dec 26, 2021

Conversation

ranile
Copy link
Member

@ranile ranile commented Dec 24, 2021

Description

Switch component no longer also adds base name in the URL to be matched so we don't add it behind the URL passed to route_recognizer::Router.

It would be nice to have tests for this but I don't think we can apply base name in tests.

Checklist

  • I have run cargo make pr-flow
  • I have reviewed my own code
  • I have added tests

@ranile ranile added A-yew-macro Area: The yew-macro crate bug labels Dec 24, 2021
@voidpumpkin voidpumpkin added A-yew-router Area: The yew-router crate and removed A-yew-macro Area: The yew-macro crate labels Dec 26, 2021
@voidpumpkin voidpumpkin merged commit 5181e1a into yewstack:master Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-yew-router Area: The yew-router crate bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants