Upgrading from 0.13 to 0.15.1: Server doesn't accept string input for numeric values #1114
Unanswered
RichardWeug
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are currently upgrading our project to Symfony 6.2, with that we're also upgrading GraphQLBundle to version 0.15.1. We have a lot of places where we send numeric values as a string to the backend. This used to work just fine, but it seems to not work anymore.
I'm guessing this is not a bug, also, I like the fact that it is stricter now, but is there a way to disable this? We now have hundreds of places in the frontend where we suddenly have to parse to a numeric value, which would take a lot of time to refactor.
An example error we're getting is:
Int cannot represent non-integer value: 60
Beta Was this translation helpful? Give feedback.
All reactions