query returns null values sometimes #892
Unanswered
tg-sbeelaard
asked this question in
Q&A
Replies: 1 comment 3 replies
-
IMO this is for ApiPlatform. Never used it tho. Can you show Company class? Can you spot any differences between id and name properties/accessors? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Symfony 4.4, latest version of webonyx graphql-php and a pretty simple GraphQL query to get a company ID and company name.
The company ID is successfully retrieved but the
name
is not. Instead it's returningnull
, even when there is a name present in database.Anyone who knows why it's returning null for the name? If you need more info please let me know.
I'm using
ApiPlatform\Core\GraphQl\Action\EntrypointAction
like this:Beta Was this translation helpful? Give feedback.
All reactions