New get param method support for Request class: get_param_as_enum #2093
DeloitteYuvarajan
started this conversation in
Ideas
Replies: 2 comments
-
Hi, That would be fine by me, but I wonder if we could create an helper method that handles the common logic? Cc @vytas7 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hm dunno, let's maybe discuss pros and cons first? This can be easily implemented by the user if needed, and it is probably better to use a validation library for advanced use cases rather than trying to implement every possible validator via |
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
-
falcon/falcon/request.py
Line 49 in 492087f
Suggested:
PS: I might miss store functionality, we can add it later.
Beta Was this translation helpful? Give feedback.
All reactions