Graphcool published tutorial about GraphQL bindings. With GraphQL bindings you can embed existing GraphQL APIs into your GraphQL server. In this article, they present a new application of schema stitching which makes it particularly easy to reuse, compose and share existing GraphQL APIs: GraphQL bindings.
GraphQL bindings take the idea of schema delegation to the next level and make it easy to reuse, embed, compose and share GraphQL APIs.
Articles then explains what what are GraphQL bindings together with simple code examples. The major strength of GraphQL is its strongly typed schema.
Some benefits of using GraphQL bindings:
- Pragmatic API & simple abstraction
- Great IDE support: Autocompletion and other awesome IDE features
- Reusable: Can be easily shared as reusable packages using NPM (or other package managers)
- Compile-time error checking: Static bindings allow for static analysis
- Language agnostic: Works with any (typed) programming language
Excellent article for anybody in the APIs business.
[Read More]