How to write resolver for the parent & child schema if parent and childs microservice are in different db using python+strawberry #2715
Unanswered
bRameshShivakumar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Team
Good Morning
I am working for Python +strawberry with apollo federation.
Question:
My project has lot of microservice using nextjs i have integrated some services in graphql .
now want to integrate my new micro service with pydentic with mongo db .
i am having same scenario as
https://strawberry.rocks/docs/guides/federation
but the problem is that in the example
Books Service schema is used in review
actually i need review schema not the book schema should be return in the reslover.
some thing like
when i call the book schema it should return books +review schema
when i call review it should return review schema based on bookid or all reviews
Please share me some samples
Beta Was this translation helpful? Give feedback.
All reactions