You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should schema with build_from_definition implicitly copy the fields over from the interface to the type? I.e. that I don't have to explicitly copy the field name under the student? If this is required should it then not raise an error for an incomplete implementation?
However I see that in https://graphql.org/learn/schema/#interfaces, they explicitly include the fields. Shouldn't there be a warning then at least with build_schema_from_definition, that the type doesn't adhere to the interface?
The text was updated successfully, but these errors were encountered:
TL;DR this proposal doesn't allow new use cases that were not already possible and degrades readability of schema in the name of writing less, which goes against GraphQL's guiding principles
However should the build_from_definition not BANG when I am not implementing that interface fully?
Should schema with
build_from_definition
implicitly copy the fields over from the interface to the type? I.e. that I don't have to explicitly copy the fieldname
under the student? If this is required should it then not raise an error for an incomplete implementation?An SDL example to clarify:
However I see that in https://graphql.org/learn/schema/#interfaces, they explicitly include the fields. Shouldn't there be a warning then at least with
build_schema_from_definition
, that the type doesn't adhere to the interface?The text was updated successfully, but these errors were encountered: