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'm just finding this project, but your best option is to adjust the call to the field Item.name so if it holds a NULL value or an empty value to return an exception sp the system is comfortable with move past those instances without thinking it's an problem. I would avoid adding print statements for the exception because these instances of null or empty will happen a lot throughout the Pokémon tcg database. You have to run a test to see if it holds valid output. and adjust as needed. What file is it calling to and at what line? That's where you should add the exception. Then submit your findings.
Where are you having the issue
Is the issue affecting one of the two elements below ?
Description
When calling the API, a server error is thrown when Item.name is null.
Just send the following query:
Expected behavior
API serves a set.
Current behavior
API fails with the folowing payload:
Context
https://www.apollographql.com/blog/using-nullability-in-graphql#what-happens-if-you-try-to-return-null-for-a-non-null-field
The text was updated successfully, but these errors were encountered: