|
|
|
|
|
by andrewingram
1917 days ago
|
|
Technically the spec is part of GraphQL itself now, but an optional recommendation, not something you’re obliged to do. That said, like you I am a fan. It’s a pretty defensible pattern, more here for those interested: https://andrewingram.net/posts/demystifying-graphql-connecti... The overall verbosity of a GraphQL queue tends to not be a huge issue either, because in practice individual components are only concerning themselves with small subsets of it (i.e fragments). I’m a firm believer that people will have a better time with GraphQL if they adopt Relay’s bottom-up fragment-oriented pattern, rather than a top-down query-oriented pattern - which you often see in codebases by people who’ve never heard of Relay. |
|