# __Directive - storefront - OBJECT Version: 2024-10 ## Description A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor. ### Access Scopes ## Fields * [args](/docs/api/storefront/2024-10/objects/__InputValue): __InputValue! - * [description](/docs/api/storefront/2024-10/scalars/String): String - * [isRepeatable](/docs/api/storefront/2024-10/scalars/Boolean): Boolean - * [locations](/docs/api/storefront/2024-10/enums/__DirectiveLocation): __DirectiveLocation! - * [name](/docs/api/storefront/2024-10/scalars/String): String! - * [onField](/docs/api/storefront/2024-10/scalars/Boolean): Boolean! - * [onFragment](/docs/api/storefront/2024-10/scalars/Boolean): Boolean! - * [onOperation](/docs/api/storefront/2024-10/scalars/Boolean): Boolean! - ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples