4 ms·
Strange that https://jsonapi.org/examples/ https://jsonapi.org/examples/ never went into the masses, I suspect because it came out around the same time as Graph
by HatchedLake721 2y ago
Strange that https://jsonapi.org/examples/ https://jsonapi.org/examples/ never went into the masses, I suspect because it came out around the same time as GraphQL.
For me it’s the perfect mix between doing REST from scratch and GraphQL.
And it comes with the similar include and expand pattern that Stripe v2 introduced.
- adsteel_ 2y agoMy experience with JSON API is that it doesn't come with the out-of-box tooling that GraphQL comes with. GraphQL is declarative enough that just writing the queries, mutations, and types gives you UI documentation and a GraphiQL playground. I still prefer the simplicity of a REST API, but GraphQL is clearly winning on the tooling front.