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
I guess there isn't enough error checking in Overblog\GraphQLBundle\Request\Parser::getParsedBody() when it come to JSON data. In fact, I'm not sure why it is supported, I can't find any documentation on how to send data this way.
Of course, it's a warning, which will be ignored in production, but I think it should be handled properly nonetheless.
The text was updated successfully, but these errors were encountered:
When doing a valid JSON request, with a valid JSON body, a warning is thrown if the JSON body isn't valid GraphQL.
The message is
Warning: mb_strlen() expects parameter 1 to be string, array given
, in filewebonyx/graphql-php/src/Language/Source.php
line 24.You can find the entire stack trace here: https://gist.github.com/pascaldevink/413fdd9d9436e138150ff14d6ae022ea
I guess there isn't enough error checking in
Overblog\GraphQLBundle\Request\Parser::getParsedBody()
when it come to JSON data. In fact, I'm not sure why it is supported, I can't find any documentation on how to send data this way.Of course, it's a warning, which will be ignored in production, but I think it should be handled properly nonetheless.
The text was updated successfully, but these errors were encountered: