axelson
Is it possible to do GraphQL Schema Stitching with Absinthe
Does anyone know if it possible to do GraphQL Schema Stitching with Absinthe?
The Apollo article about schema stitching is very exciting:
https://dev-blog.apollodata.com/graphql-schema-stitching-8af23354ac37
But rather than add a nodejs dependency to our application it would be great to do the stitching directly in Elixir (probably with Absinthe), has anyone played with GraphQL schema stitching?
Marked As Solved
benwilson512
Not yet!
This is the primary feature aimed at with Absinthe 1.5. I can’t give you a timeline yet, but we believe we have a high level approach that will work, and it’s largely a matter of carving out the time to make it happen.
Also Liked
benwilson512
Hey! Here’s where we stand:
I have largely completed the gigantic rework of schema internals required to do the dynamic schemas we need for stitching.
We also have support for SDL based schemas, and thus by extension introspection based schemas.
So, what remains?
- Various mechanics around how to dynamically update these schemas.
- Lots of questions about the client side of this. This has the most work remaining to it. I really need to dig into what other clients are doing, is there even a suggested spec for how this works?
There’s also a handful of small internal changes to do, but that encompasses the bulk of the remaining work.
binaryseed
My team has released an example app that does Schema Stitching in Absinthe…
https://github.com/newrelic/absinthe-schema-stitching-example
Eventually I’d like to see some form of this make it into Absinthe itself, but there are lots of decisions to make about how to accomplish that. Meanwhile, those who really want to get something up and running can check out what we did in our API at New Relic.
benwilson512
The main feature in 1.5 is really that schemas can be built and manipulated with ordinary datastructures, and constructed from sources like SDL and the traditional macros. This was a prerequisite to any kind of dynamic programatic schema building, whether that was going to happen via schema stitching or the new federation mechanism.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








