How to pass the input params to federated subgraphs #1155
Unanswered
sm-the-explorer
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone,
want to get some help for solving below use case. I am referring to dgs federation to portray my use case.
In the below model shows query is taking input argument and part of Show data except reviews is being resolved by a shows-dgs subgraph.
type Query {
shows(titleFilter: String): [Show]
}
type Show @key(fields: "id") {
id: ID
title: String
releaseYear: Int
}
reviews which is part of Show is being resolved by a different subgraph reviews-dgs. Now I want to pass the filer titleFilter to reviews subgraph ? any suggestions in how I can do that ?
Example github url :- https://github.com/Netflix/dgs-federation-example
TIA
Beta Was this translation helpful? Give feedback.
All reactions