• Stars
    star
    378
  • Rank 113,272 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Auto-generated SDK for your GraphQL API (supports schema stitching & codegen)

graphql-binding

Deprecation Notice!

In the last few months, since the transition of many libraries under The Guild's leadership, We've reviewed and released many improvements and versions to graphql-cli, graphql-config and graphql-import.

We've reviewed graphql-binding, had many meetings with current users and engaged the community also through the roadmap issue.

What we've found is that the new GraphQL Mesh library is covering not only all the current capabilities of GraphQL Binding, but also the future ideas that were introduced in the original GraphQL Binding blog post and haven't come to life yet.

And the best thing - GraphQL Mesh gives you all those capabilities, even if your source is not a GraphQL service at all!
it can be GraphQL, OpenAPI/Swagger, gRPC, SQL or any other source! And of course you can even merge all those sources into a single SDK.

Just like GraphQL Binding, you get a fully typed SDK (thanks to the protocols SDKs and the GraphQL Code Generator), but from any source, and that SDK can run anywhere, as a connector or as a full blown gateway. And you can share your own "Mesh Modules" (which you would probably call "your own binding") and our community already created many of those! Also, we decided to simply expose regular GraphQL, so you can choose how to consume it using all the awesome fluent client SDKs out there.

If you think that we've missed anything from GraphQL Binding that is not supported in a better way in GraphQL Mesh, please let us know!

Overview

🔗 GraphQL bindings are modular building blocks that allow to embed existing GraphQL APIs into your own GraphQL server. Think about it as turning (parts of) GraphQL APIs into reusable LEGO building blocks. Bindings may be generated in JavaScript, TypeScript, or Flow.

The idea of GraphQL bindings is introduced in detail in this blog post: Reusing & Composing GraphQL APIs with GraphQL Bindings

Install

yarn add graphql-binding

Public GraphQL bindings

You can find practical, production-ready examples here:

Note: If you've created your own GraphQL binding based on this package, please add it to this list via a PR 🙌

If you have any questions, share some ideas or just want to chat about GraphQL bindings, join the #graphql-bindings channel in our Slack.

More Repositories

1

graphql-code-generator

A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
TypeScript
10,834
star
2

graphql-yoga

🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.
TypeScript
8,238
star
3

angularjs-dropdown-multiselect

AngularJS Dropdown Multiselect
HTML
443
star
4

graphql-typed-document-node

An improved version of `DocumentNode` for seamless TypeScript integration for GraphQL.
TypeScript
378
star
5

graphql-code-generator-community

TypeScript
116
star
6

graphql-typed-ast

Experimental TypeScript type-based parser for GraphQL
TypeScript
74
star
7

graphql-tools-rs

Rust
39
star
8

docker-node-graphql-api

Docker engine remote API using GraphQL
TypeScript
21
star
9

meteor-whatsapp-clone-step-by-step

Step by step for building WhatsApp clone using Meteor and AngularJS with angular-meteor.
JavaScript
18
star
10

accounts-ui-angular

AngularJS wrapper for Meteor's Account-UI package
JavaScript
17
star
11

graphql-angular-workshop

Angular and GraphQL (with Apollo) Workshop
HTML
15
star
12

graphql-codegen-graphql-request-example

TypeScript
10
star
13

graphql-to-config-schema

Use GraphQL SDL Language to define YAML config schema
TypeScript
10
star
14

remark-import-partial

A plugin for Unified/Remark for populating `@import` syntax with partial files
JavaScript
9
star
15

typescript-node-boilerplate

TypeScript boilerplate for NodeJS
TypeScript
8
star
16

graphql-codegen-appsync-android-example

Java
7
star
17

meteor-package-publisher

Packages publishing tool for packages that uses bower/npm
JavaScript
6
star
18

cozy

One place for all your development workflows. Makes monorepo development much easier.
TypeScript
6
star
19

angular2-blaze-template

Angular 2 Component that allows you to load Blaze templates
JavaScript
6
star
20

angular2-blaze-migration-tutorial

Blaze to Angular 2 Migration Tutorial
JavaScript
6
star
21

graphql-code-generator-issue-sandbox-template

TypeScript
5
star
22

strest

Stress tests for NodeJS
TypeScript
4
star
23

k6-github-pr-comment

JavaScript
3
star
24

graphql-codegen-react-apollo-example

TypeScript
3
star
25

graphql-hive-external-composition-heroku-template

JavaScript
2
star
26

poalim-demo

Java
2
star
27

test-renovate-changesets

2
star
28

graphql-code-generator-examples

2
star
29

changesets-experiments

2
star
30

codegen-resolvers-example

GraphQL Codegen example for generating MongoDB resolvers from GraphQL scheme
TypeScript
2
star
31

apollo-very-pessimism

TypeScript
1
star
32

apollo-client-unhandled-expection

JavaScript
1
star
33

renovate-experiments

1
star
34

experimental-stuff

TypeScript
1
star
35

dalet-subscriptions-bug

TypeScript
1
star
36

angular2-meteor-tests-polyfills

JavaScript
1
star
37

moris-ts-example

TypeScript
1
star
38

redwood-envelop-examples

TypeScript
1
star
39

minitrace-localspan-reproduce

Rust
1
star