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
When defining a custom scalar, GraphQL services should provide a scalar specification URL via the @specifiedBy directive or the specifiedByURL introspection field. This URL must link to a human-readable specification of the data format, serialization, and coercion rules for the scalar.
GraphQL implementations that support the type system definition language should provide the @specifiedBy directive if representing custom scalar definitions.
The @specifiedBybuilt-in directive is used within the type system definition language to provide a scalar specification URL for specifying the behavior of custom scalar types. The URL should point to a human-readable specification of the data format, serialization, and coercion rules. It must not appear on built-in scalar types.
The text was updated successfully, but these errors were encountered:
From to the spec (1), https://spec.graphql.org/draft/#sec-Scalars:
From the spec (2), https://spec.graphql.org/draft/#sec-Type-System.Directives.Built-in-Directives:
From the spec (3), https://spec.graphql.org/draft/#sec--specifiedBy:
Example:
The text was updated successfully, but these errors were encountered: