Skip to main content

needsAnyFeature

Indicates that the annotated element requires at least one of the specified features to be enabled in order to be accessible.

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

Arguments

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