Negative values and int&float convertors #1778
Answered
by
Kludex
jvail
asked this question in
Potential Issue
-
Hi, I may have missed the discussion/issue but I wonder what the reason might be to not support negative values in the default float & int convertors? I have now implemented them myself (by copying starlette's default converters and changing the regex). But of course I'd prefer not to do that. Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
Kludex
Jan 11, 2023
Replies: 1 comment
-
The decision is not documented, but I assume it was made to match what other web frameworks had by default. Also, as you said, you can implement your own converter. If this gets more attraction, we can rethink the decision. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Kludex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The decision is not documented, but I assume it was made to match what other web frameworks had by default.
Also, as you said, you can implement your own converter. If this gets more attraction, we can rethink the decision.