KeyAttachment class

An attachment for graphQLKeyDirective that specifies that a given object can be identified by the fields passed as argument to the directive.

Implemented types

Constructors

KeyAttachment(String fields)
An attachment for graphQLKeyDirective that specifies that a given object can be identified by the fields passed as argument to the directive.
const

Properties

directiveDefinition GraphQLDirective
The directive definition of the directiveValue
no setteroverride
directiveValue → DirectiveNode
The directive value represented by this object
no setteroverride
fields String
The fields which, when combined, form a global key for the annotated GraphQLObject.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
validateElement(SchemaValidationContext context, GraphQLElement element) → void
Validates the provided element following the configuration of this attachment
override

Operators

operator ==(Object other) bool
The equality operator.
inherited