Skip to main content

needsFeatures

Indicates that the annotated element requires specific features to be enabled in order to be accessible.

directive @needsFeatures(
features: [String!]!
) on
| OBJECT
| FIELD_DEFINITION
| ARGUMENT_DEFINITION
| INTERFACE
| ENUM
| INPUT_OBJECT
| INPUT_FIELD_DEFINITION

Arguments

needsFeatures.features ● [String!]! non-null scalar