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(router/trie-router): fix label with trailing wildcard pattern #3892

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

usualoma
Copy link
Member

@usualoma usualoma commented Feb 4, 2025

TrieRouter was not able to obtain parameters in the pattern of the added test, so I fixed it.

https://github.com/honojs/hono/compare/main...usualoma:fix/label-trailing-wildcard?expand=1#diff-18f50c43f41503d5cc65c9d783b57e0c683eb26957f59a11edb2d099f40114c2R502

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

@usualoma
Copy link
Member Author

usualoma commented Feb 4, 2025

@yusukebe
Would you please review?

Copy link
Member

@yusukebe yusukebe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yusukebe
Copy link
Member

yusukebe commented Feb 6, 2025

@usualoma

This was a bug. Good point! Thank you!

@yusukebe yusukebe merged commit 6b6fbad into honojs:main Feb 6, 2025
14 checks passed
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