graphql-python / graphql-python/graphene-sqlalchemy

How to convert a json response to graphql SQLAlchemyObjectType

Offen
#320 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
Python
Sterne
985
Forks
223
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.