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
The field must have a unique name within that Object type;
no two fields may share the same name.
The field must not have a name which begins with the
characters {"__"} (two underscores).
The field must return a type where {IsOutputType(fieldType)} returns {true}.
For each argument of the field:
The argument must not have a name which begins with the
characters {"__"} (two underscores).
The argument must accept a type where {IsInputType(argumentType)}
returns {true}.
An object type may declare that it implements one or more unique interfaces.
An object type must be a super-set of all interfaces it implements:
The object type must include a field of the same name for every field
defined in an interface.
The object field must be of a type which is equal to or a sub-type of
the interface field (covariant).
An object field type is a valid sub-type if it is equal to (the same
type as) the interface field type.
An object field type is a valid sub-type if it is an Object type and
the interface field type is either an Interface type or a Union type
and the object field type is a possible type of the interface field
type.
An object field type is a valid sub-type if it is a List type and
the interface field type is also a List type and the list-item type
of the object field type is a valid sub-type of the list-item type
of the interface field type.
An object field type is a valid sub-type if it is a Non-Null variant
of a valid sub-type of the interface field type.
The object field must include an argument of the same name for every
argument defined in the interface field.
The object field argument must accept the same type (invariant) as
the interface field argument.
The object field may include additional arguments not defined in the
interface field, but any additional argument must not be required, e.g.
must not be of a non-nullable type.
The text was updated successfully, but these errors were encountered:
In
Validator.validateSchema
, verify the rules for object typesno two fields may share the same name.
characters {"__"} (two underscores).
characters {"__"} (two underscores).
returns {true}.
defined in an interface.
the interface field (covariant).
type as) the interface field type.
the interface field type is either an Interface type or a Union type
and the object field type is a possible type of the interface field
type.
the interface field type is also a List type and the list-item type
of the object field type is a valid sub-type of the list-item type
of the interface field type.
of a valid sub-type of the interface field type.
argument defined in the interface field.
the interface field argument.
interface field, but any additional argument must not be required, e.g.
must not be of a non-nullable type.
The text was updated successfully, but these errors were encountered: