Comments (4)
@Codier In fact the is a bit of progress in this direction. It is still at early stages, but I extracted relevant parts in a separate project and made this functionality standalone:
https://github.com/OlegIlyenko/graphql-gateway
moreover, it is much easier to use use this functionality. You can just run it with docker like this:
docker run -it -p 8080:8080 -v $(pwd):/schema tenshi/graphql-gateway
and it will serve the schema defined in *.graphql
files in the current working directory (it will also pick up and reload all changes to these files).
You can check out this example schema: testSchema.graphql
I would suggest you to check it out and would appreciate your feedback if you decide to try it out.
from graphql-toolbox.
Schema stitching is definitely very interesting area. I made several experiments with it as well. For example here is an example of how one might get started with the implementation:
https://github.com/OlegIlyenko/graphql-toolbox/blob/master/app/controllers/Materializer.scala
Although the topic in itself is quite big. I think it can be a big project on its own. Several community members are already working on fully functional implementation of it (e.g. Graphcool, Apollo and APIs.Guru).
On the other hand, for me (and also in the scope of graphql-toolbox) it was important to verify that something like this is possible to implement with sangria and if not, then to identify the bottlenecks and missing functionality. So far it looks pretty good but at the moment it is outside of the scope to implement fully features GraphQL API gateway (just the matter of time and effort needed to implement this thing)
from graphql-toolbox.
Several community members are already working on fully functional implementation of it (e.g. Graphcool, Apollo and APIs.Guru).
@OlegIlyenko Do you know of any progress? I can't find anything online
from graphql-toolbox.
@OlegIlyenko would love to know if there is any progress.
from graphql-toolbox.
Related Issues (13)
- persist current state in the local storage
- Docs button offscreen when screen is too small HOT 7
- Failed when launch locally HOT 2
- Weird introspection query
- Proxy demo doesn't work HOT 3
- Ability to expand and collapse the Graphiql config
- Publish advanced graphiql to jsdelivr HOT 22
- Using the toolbox HOT 2
- Provide bootstrap graphiql entry point HOT 2
- setting xhr withCredentials to false HOT 1
- Abbreviate headers HOT 4
- Release as (possibly multiple) npm module(s) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-toolbox.