Documentation
¶
Index ¶
- func ListSchemaWithXItems(x int) graphql.Schema
- func WideArgedSchemaQueryWithLiteral(x int, literal string) string
- func WideArgedSchemaQueryWithVariable(x int) string
- func WideArgedSchemaWithXFieldsAndYItems(x int, y int) graphql.Schema
- func WideSchemaQuery(x int) string
- func WideSchemaResolveAppendWithXFieldsAndYItems(x int, y int) graphql.Schema
- func WideSchemaWithXFieldsAndYItems(x int, y int) graphql.Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListSchemaWithXItems ¶
func WideArgedSchemaQueryWithLiteral ¶
WideArgedSchemaQueryWithLiteral returns a query identical in shape to WideArgedSchemaQueryWithVariable except each `value` arg is a distinct literal string. Used to demonstrate the cost when clients don't use variables — every literal change forces a fresh parse+validate+plan.
func WideArgedSchemaQueryWithVariable ¶
WideArgedSchemaQueryWithVariable returns a parametric query: every field's `value` arg is bound to the same variable `$v`. The resulting *Plan can be cached once and reused for arbitrary literal variations passed as Args at execute time.
func WideArgedSchemaWithXFieldsAndYItems ¶
WideArgedSchemaWithXFieldsAndYItems is the same shape as WideSchemaWithXFieldsAndYItems but every field takes a `value: String` argument the resolver echoes (or, for non-string fields, ignores). Designed to exercise the parametric-query path: a single `value: $v` variable can fan out across all 100 fields, so a cached plan handles arbitrary literal variations via Args alone.
func WideSchemaQuery ¶
func WideSchemaResolveAppendWithXFieldsAndYItems ¶
WideSchemaResolveAppendWithXFieldsAndYItems mirrors WideSchemaWithXFieldsAndYItems but every leaf field uses ResolveAppend (writes JSON bytes directly) instead of Resolve. The per-field output is identical, but the executor skips the Serialize / leafEmitter / boxing chain entirely.
Types ¶
This section is empty.