All Questions
Tagged with apollo-federation netflix-dgs
5 questions
0
votes
0
answers
48
views
Changing Keys of a subgraph in apollo federation
I have two subgraphs that contribute to a supergraph by following apollo federation 2.0. One of the subgraph defines a type Payment which has a field bill. The subgraph that defines the Payment type ...
1
vote
1
answer
437
views
Graphql Inner and Left Join
We are using Apollo Router + Netflix DGS to build federated graphql services. Suppose that we have a common relational database right now for books and authors, but want to move towards a microservice ...
1
vote
0
answers
286
views
Complex type in Netflix dgs entityfetcher
I have defined Subgraphs to fetch data from multiple sources
type MyResult{
id: ID
innerResults: [InnerResult] @external
otherResults: [OtherResult] @requires(fields: "innerResults")
}
...
0
votes
2
answers
1k
views
Is it possible to input one argument out of two in GraphQL?
I have a situation where in I have to input one parameter out of the given two.
Suppose the schema is
input fruit {
apple: Apple
banana: banana
}
Now, if user inputs apple, then he cannot ...
2
votes
1
answer
867
views
How to avoid returning null in Apollo Federation GraphQL
I have two services (implemented using DGS Netflix) which I want to federate using apollo federation. First one is the user service which model looks something like this:
type User @key(fields: "...