golang-relay-starter-kit
golang-relay-starter-kit copied to clipboard
Don't use Viewer
First off, thanks for all your work in the golang relay/graphql world, much appreciated.
I'm new to both go and relay/graphql so hopefully I'm not way off on this, but I found the viewer pattern kind of odd. While I was reading up on it I found this issue where Lee Byron suggests: "to not put everything on a Viewer type, which is an antipattern in GraphQL servers, but instead to put all root access on the Query type.".
My question is: how would that look with golang-relay? Would it be possible to update this project to use that pattern?
Thanks!