Tuesday, July 31, 2018

Understanding the Rise of GraphQL: GraphQL vs. a JSON DSL

It turns out that GraphQL is pretty awesome. I didn’t always see it that way. The first few times I ran across GraphQL, I was pretty skeptical of its touted benefits because the cost of putting together a GraphQL system seemed too high. It also seemed to me that all the benefits of GraphQL could still be achieved by just creating a custom JSON DSL (query language using JSON).

For example, a “read” query might look like this in GraphQL:



from DZone.com Feed https://ift.tt/2vnykel

No comments:

Post a Comment