Maintainer Notes: Fixture metadata survives merge
Status: Fixture
GAP-1004: @cost Directive
Version: 2025-09
Authors: Priya Santos
Discussion: github.com/graphql/gaps/pull/1004

GAP-1004: @cost Directive

This release adds multiplier names for list fields.

1Overview

The directive MAY appear on field definitions.

Example № 1directive @cost(value: Int!, multipliers: [String!] = []) on FIELD_DEFINITION

2Motivation

List fields often scale with argument values. Multipliers let a planner account for common pagination arguments.

  1. 1Overview
  2. 2Motivation