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

Multiple @Keys are not allowing their partner keys from being returned #2994

Open
mthompson313 opened this issue May 2, 2024 · 0 comments
Open

Comments

@mthompson313
Copy link

Issue Description

I have a federation that has many subgraphs (django stack using ariadne). two of the subgraphs are trying to cross walk back and forth.

Subgraph A has a type defined as:

type MyUserType @key(fields: "username uuid") {
 username: String!
 uuid: ID! 
 ....other fields
}

and then subgraph B that has a type defines as:

type MyUserType @key(fields:"username uuid") @extends {
 username:String! @external
 uuid: Id! @external
}

subgraph B is referencing subgraph A by either username or uuid independently. a problem is occurring though where if subgraph b sends a request to subgraph A using uuid, it will not return a username in the response object when requested and vice versa

is this intended behavior? or is this a bug

Link to Reproduction

cant submit company url

Reproduction Steps

No response

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

No branches or pull requests

1 participant