How can I implement the Custom Methods approach with Hono? #4380
Unanswered
is-jonreeves
asked this question in
Q&A
Replies: 1 comment
-
|
1. Use Literal ✅ Works because 2. Alternative: Catch-All Param and Parse ✅ This is more flexible if you have many actions per resource. 3. Notes / Best Practices
💡 TL;DR:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given that Hono uses colons to indicate path segments as params (ie.
:id), does anyone know how I can implement the custom methods approach. Example:Beta Was this translation helpful? Give feedback.
All reactions