Graphene: Does graphene support remote schemas and stitching?

Created on 20 Jan 2018  路  8Comments  路  Source: graphql-python/graphene

This is more of a question or feature request than issue, but, does it? I didn't found any initializer/method to init my local schema from the remote introspected one.

Most helpful comment

Nobody answered for a long time so I assumed: no. End up using an Apollo JS gateway able to stitch multiple Graphene powered microservices.

All 8 comments

Did you find an answer to that question?

Nobody answered for a long time so I assumed: no. End up using an Apollo JS gateway able to stitch multiple Graphene powered microservices.

That's what I guessed... Thanks for your answer!

Sorry no one got back to you @valentinradu . As you guessed though, currently Graphene doesn't support remote schemas or stitching.

@valentinradu Were you able to get Apollo JS gateway to load your graphene-based schema implementations?

Hi, I'm coming back to this issue since I did not find a solution for that, I have a couple of microservices, most of them are in apollo server, and one written in python. I did not found a way to stitch schema of my python grpahql and the apollo server.

Any ideas?

@RoySegall I've been playing with the implementation of a registry, much as neomodel (neo4j graph db specific ogm) uses for models, so one idea would be to post an introspection to your apollo server, and register the received types with a registry. Then in your middleware or such, you can check the registry, if the type is found there, delegate and route the graphql request and all the args

It feels kludgy atm, but still poking it as I have time.

@RoySegall I have that also,

I have a ApolloServer gateway and trying to stitch a couple of graphene services, but apollo server doesn't seem to be able to receive the schema properly from graphene.

@valentinradu How'd you manage to accomplish this ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lincolnq picture lincolnq  路  3Comments

jloveric picture jloveric  路  4Comments

mraak picture mraak  路  3Comments

Globegitter picture Globegitter  路  4Comments

mingzhou picture mingzhou  路  3Comments