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

RPC does not work with optional parameter #2575

Closed
NamesMT opened this issue Apr 30, 2024 · 1 comment
Closed

RPC does not work with optional parameter #2575

NamesMT opened this issue Apr 30, 2024 · 1 comment
Labels

Comments

@NamesMT
Copy link
Contributor

NamesMT commented Apr 30, 2024

What version of Hono are you using?

4.2.9

What runtime/platform is your app running on?

Node v20

What steps can reproduce the bug?

Declare multiple routes, include one route using optional parameter like /api/:a/:b?

What is the expected behavior?

RPC mode should work normally

What do you see instead?

RPC got fallback to match any string, with no known HTTP methods
image

Additional information

No response

@yusukebe
Copy link
Member

yusukebe commented May 4, 2024

This is fixed by #2576

@yusukebe yusukebe closed this as completed May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants