Skip to main content
Version: 2024-10-11

defer

This directive allows results to be deferred during execution

directive @defer(
if: Boolean! = true
label: String
) on
| FRAGMENT_SPREAD
| INLINE_FRAGMENT

Arguments

defer.if ● Boolean! non-null scalar

Deferred behaviour is controlled by this argument

defer.label ● String scalar

A unique label that represents the fragment being deferred