Skip to main content

@defer

Directive

This directive allows results to be deferred during execution

directive @defer(if: Boolean, label: String) on FRAGMENT_SPREAD | INLINE_FRAGMENT

Arguments​

ArgumentTypeDefaultDescription
ifBooleanThis directive allows results to be deferred during execution
labelStringA unique label that represents the fragment being deferred

Locations​

  • FRAGMENT_SPREAD
  • INLINE_FRAGMENT