Code Monkey home page Code Monkey logo

Comments (4)

OlegIlyenko avatar OlegIlyenko commented on July 4, 2024 1

@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.

OlegIlyenko avatar OlegIlyenko commented on July 4, 2024

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.

inakianduaga avatar inakianduaga commented on July 4, 2024

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.

Codier avatar Codier commented on July 4, 2024

@OlegIlyenko would love to know if there is any progress.

from graphql-toolbox.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.