Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

include Directive

Directs the executor to include this field or fragment only when the if argument is true.

directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT

Locations

FIELD, FRAGMENT_SPREAD, INLINE_FRAGMENT

Arguments

if

if · Boolean!

Included when true.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?