Skip to content

Why can everything be null? #161

Answered by JoviDeCroock
abdonrd asked this question in Q&A
Discussion options

You must be logged in to vote

I mean, in GraphQL the server sais whether something can be nullable or not. Indicating something as nullable acts like a boundary for errors,... it can also be used on the client to indicate where partial data is allowed. I highly encourage you to read the spec to know more about this.

Basically this isn't a question that can be answered from this library as it's a building block of GraphQL as a technology.

Wrote a bit about it here https://stellate.co/blog/graphql-types-as-a-superpower and a reddit post https://www.reddit.com/r/graphql/s/0bESQWSZ8P

Tldr: when a field errors for a given pokemon that would bubble up to the first non nullable boundary. If we ask for a list of pokemons and …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kitten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants