You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also would appreciate this - we just ran into a case where we wanted to write a POST handler that doesn't have a body. We can't change the method for backwards compatibility reasons
What is the problem this feature would solve?
Some routes, as mentioned in the documentation, don't require automatic body parsing at all and break if it occurs because the body is used due to side effects introduced by plugins (i.e. how elysia works)
What is the feature you are proposing to solve the problem?
Allow
parse: false
option in the route's configuration, or reconsider parsing for plugins that don't access the body butContext
Allowing something like this should also improve performance
What alternatives have you considered?
I tried this, but it is inconsistent with
aot: false
, in some cases and bad UX:The text was updated successfully, but these errors were encountered: