News for hackers. Stuff that matters.
Re:Why, after 6 years, I'm over GraphQL by brabel on Thursday May 30, 2024 @07:24AM (#40522438)
About nulls: you're right, but because of authorization, everything can be null - if you don't have access to something, we need to remove it from the result (instead of just throwing an error, as you may still get enough information to do what you need to do) - and that will always be a fetcher error in GraphQL if the field was non-nullable. And because you shouldn't really know or care beforehand which fields may be "hidden" from the end user due to authorization, you need to make everything nullable or risk making a breaking change later.
Re:Why, after 6 years, I'm over GraphQL by daxfohl on Thursday May 30, 2024 @12:06PM (#40525313)
Same thing in sql. Non null guarantees are great until you do a left join.