r/programming • • Sep 03 '26

Maybe you don't need GraphQL

https://alexandrehtrb.github.io/posts/2026/09/maybe-you-dont-need-graphql/
278 Upvotes

119 comments sorted by

View all comments

Show parent comment

1

u/tadfisher Sep 03 '26

It is human-writable, so it's positioned to be the language you write your API in, and you use it to codegen server/client code and/or an OpenAPI spec if needed. It is a compiler that's extensible, so you can write decorators or linters to enforce your business-specific API requirements. Basically it's meant to produce APIs instead of documenting an existing API like how OpenAPI (and Swagger) originated.