Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert a json response to graphql SQLAlchemyObjectType #320

Open
zhaoxwei opened this issue Oct 25, 2021 · 0 comments
Open

How to convert a json response to graphql SQLAlchemyObjectType #320

zhaoxwei opened this issue Oct 25, 2021 · 0 comments
Labels

Comments

@zhaoxwei
Copy link

I am trying to build an application with graphene_sqlalchemy to manage quite a few micro-services. I have the data models (SQLAlchemyObjectType) of each micro-service, and want to reuse them so that I don't need to duplicate data models. But the challenge is how to convert json responses from micro-services to graphql SQLAlchemyObjectType. Is there any reference? Or do I have to redefine data models for graphql? Thank you!

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

No branches or pull requests

2 participants