Replies: 1 comment 10 replies
-
I see no reason not to handle both. We'd need a precedence or error when named is also used. I think I'd lean to just a documented precedence order of named overrides default. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Excited to see that API routes are now stable in waku!
One of the early minor frictions that I ran into with using them was that I needed to export the named method handlers explicitly, instead of exporting a single default handler.
For example:
This can be accomplished today, with a bit of manual work:
Beta Was this translation helpful? Give feedback.
All reactions