<  Back to Schedule
BackendSession Presentations

Why You Should Use Implementation-First to Build Your GraphQL Schema

Wednesday, September 11 / 10:50a.m. PDT - 11:20a.m. PDT
Erik Wrede Profile Image
Erik Wredefulfillmenttools, Software Engineer

When we look at GraphQL server implementation approaches, you often see the discussion between code-first and schema-first as a schema building approach. What is overlooked is that Facebook actually built their Hack-based GraphQL server with implementation-first. This approach will infer the GraphQL schema from your code, and by extension from your business layer. In this talk, I will look at various implementations of implementation-first and explain why Facebook chose this approach to build their own GraphQL server and why it is actually the better approach in most projects.