-
Notifications
You must be signed in to change notification settings - Fork 17
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
key_fields_must_exist validation errors #53
Comments
Actually this error is from this line absinthe_federation/lib/absinthe/federation/schema/phase/validation/key_fields_must_exist.ex Line 75 in a8c828d
the of_type only exists if the type is non_null so this blows up for nullable fields which prompts the question can @key(fields: "...") reference nullable fields?
|
Kaden Wilkinson Jun 24th at 11:38 AM
Lenny 1 day ago
Derek 1 day ago
Derek 1 day ago
|
According to the messages, currently, a nullable key field is still valid. What other methods can we use to accomplish this type lookup? |
I was working on updating the https://github.com/apollographql/apollo-federation-subgraph-compatibility elixir implementation to use more recent versions and to fix CI and I am now seeing errors with this validation phase.
I think this may have to do with the field and field type name not being the same? the field is called
variation
but its type isproduct_variation
The text was updated successfully, but these errors were encountered: