-
-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinity and -Infinity not supported for maximum and minimum #676
Comments
Please provide some code samples and a full stacktrace. |
well, before I go into that, let me as a more straightforward question |
The problem is, that internally we can only use one data type for min/max, and that is decimal ATM. I think decimal does not support Infinity but supports more numbers... I don't know if there is really a clean solution to this. |
ok, so, it is not supported. got it. |
I'm open to suggestions and PRs (this one is not that important to me, so probably won't fix it soon). v6 or v7 draft: #574 |
it's ok, no PRs needed, we got around it by using a very big number, the biggest in our domain space. |
I get this error using a valid schema which is making use of Infinity and -Infinity
Could not convert string to decimal: -Infinity. Path 'minimum', line 4, position 24.
known issues?
thank you
The text was updated successfully, but these errors were encountered: