Description
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. Get Started Here: https://graphql.org/
GraphQL Fails Modularity / GraphQL Modularity - Variable Providers / How Relay Overcomes the Limitations of Client Controlled Nullability - Matt Mahoney, Mofei Zhang, & Dave McCabe, Meta
JW Marriott Austin, Room 402/403
Speakers: Matt Mahoney, Dave McCabe, Mofei Zhang
GraphQL, the language, works against a typical (Bazel, Buck, etc.) build system’s view of modularity. Problems include Overlapping Fields, Fragment Nullability, Query Level Variables, and Huge Schemas.
At Meta, we’re working through these problems with solutions including:
* Fragment Composition (rather than inheritance)
* Keyed/alias'd fragments
* Variable providers
* Fragment arguments
* Schema composition
These features build towards a world where fragments can accurately describe cleanly composable product needs.