GAP-1003: @streamPolicy Directive
Version: 2026-04
Authors: Nia Patel, Jon Bell
Discussion: github.com/graphql/gaps/pull/1003
GAP-1003: @streamPolicy Directive
This release adds an ordering hint to stream policy.
1Overview
The directive MAY appear on field definitions.
Example № 1directive @streamPolicy(
mode: StreamMode!
ordered: Boolean = true
) on FIELD_DEFINITION
2Motivation
Some streamed fields can be delivered out of order while others are only useful when ordering is preserved.