Are fields on the KeyDirective fieldset nullable? #1261
Unanswered
rudrasrivastava
asked this question in
Q&A
Replies: 1 comment
-
The federation spec doesn't mention anything specifically about nullability: https://www.apollographql.com/docs/federation/federation-spec/#key So you could I suppose, but as you mentioned yourself unique identifiers should really be unique and required for a data set perspective |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a combination of nullable and non-nullable fields on the KeyDirective fieldset. I could not find any documentation regarding if certain fields on the key directive can be nullable given there is atleast one valid non-nullable key. I tried it out and got a "field not in response" error for those fields that are nullable. Would appreciate any clarity on the same.
Beta Was this translation helpful? Give feedback.
All reactions