News for hackers. Stuff that matters.
Re:Show HN: GraphQL Voyager – Represent Any GraphQL API as a... by crucialfelix on Tuesday February 21, 2017 @03:46PM (#13699746)
viewer is a Relay convention for wrapping fields in an authenticated context. If the viewer does not resolve (not logged in) then data.viewer is null. It makes view permissions checking a lot easier and simpler.

Edges and node is also a Relay interface.

Graphql can be simpler if you don't use relay. Also the relay client is quite fat.

I use Apollo and I do use relay interface and conventions, just without the official Relay client. I like Apollo's simplicity a lot more.

Re:Show HN: GraphQL Voyager – Represent Any GraphQL API as a... by WhitneyLand on Tuesday February 21, 2017 @04:15PM (#13700075)
Thanks, actually that is Apollo client, but the schema uses relay because that's what scaffold.io uses.