Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Provide tooling for composing API Gateway #1053

Closed
kbrandwijk opened this issue Oct 26, 2017 · 3 comments
Closed

Provide tooling for composing API Gateway #1053

kbrandwijk opened this issue Oct 26, 2017 · 3 comments

Comments

@kbrandwijk
Copy link
Contributor

kbrandwijk commented Oct 26, 2017

This is a placeholder issue to gather specs for any tooling that could be provided to make it easier to create an API Gateway. I've played with the schema stitching, and I come across a lot of boilerplate and repetitive tasks, or things that are easier, or harder to do in a Gateway.

@sorenbs
Copy link
Member

sorenbs commented Nov 4, 2017

Based on the talks we had at GraphQL Summit, this is an area that will see a lot of development in the near future not just from Graphcool but also the broader GraphQL community. Exciting times ahead :-)

I assume you are already aware of https://github.com/graphcool/graphql-transform-schema ?

@kbrandwijk
Copy link
Contributor Author

kbrandwijk commented Nov 4, 2017

@sorenbs Yes I am. But it has some structural design issues and the functionality will soon be obsolete.
Regarding tooling, I was thinking more in the direction of composability, configuration etc. For example, using a similar approach to the Graphcool service definition to define a gateway:
https://gist.github.com/kbrandwijk/47a6479d9668153451eb6272818b8aa9

And other features related to using a Gateway, such as exposing tracing information, making it easy to validate a token from the Gateway (#1051), supporting arbitrary directives in your schema.

And there's also https://github.com/graphcool/graphql-boilerplate now, so maybe that's a better place to discuss this, but it wasn't around yet when I created this issue.

@marktani
Copy link
Contributor

marktani commented Nov 6, 2017

Yes, let's continue the discussion there. graphql-boilerplates/node-graphql-server#1 and graphql-boilerplates/node-graphql-server#7 are good places for that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants