Skip to main content

source

Annotates the original name of a type.

directive @source(
name: String!
schema: String!
) on
| OBJECT
| FIELD_DEFINITION
| ARGUMENT_DEFINITION
| INTERFACE
| UNION
| ENUM
| ENUM_VALUE
| INPUT_OBJECT
| INPUT_FIELD_DEFINITION

Arguments

source.name ● String! non-null scalar

The original name of the annotated type.

source.schema ● String! non-null scalar

The name of the schema to which this type belongs to.