OBJECT

__Directive

Represents a directive

link GraphQL Schema definition

  • type __Directive {
  • args: [__InputValue!]!
  • description: String
  • isRepeatable: Boolean!
  • locations: [__DirectiveLocation!]!
  • name: String!
  • onField: Boolean @deprecated( reason: "Check `locations` field for enum value FIELD" )
  • onFragment: Boolean @deprecated( reason: "Check `locations` field for enum value FRAGMENT_SPREAD" )
  • onOperation: Boolean @deprecated( reason: "Check `locations` field for enum value OPERATION" )
  • }