You are here

public property GraphQLField::$parents in GraphQL 8.3

The id of the GraphQLType or GraphQLInterface this field is bound to.

If omitted, the field is considered a "root" field.

Type: string[]

File

src/Annotation/GraphQLField.php, line 31

Class

GraphQLField
Annotation for GraphQL field plugins.

Namespace

Drupal\graphql\Annotation

Code

public $parents = [];