MCPcopy
hub / github.com/graphql/graphiql / list

Function list

packages/graphql-language-service/src/parser/RuleHelpers.ts:20–22  ·  view source on GitHub ↗
(ofRule: Rule | string, separator?: string | Rule)

Source from the content-addressed store, hash-verified

18
19// A list of another rule.
20export function list(ofRule: Rule | string, separator?: string | Rule): Rule {
21 return { ofRule, isList: true, separator };
22}
23
24// A constraint described as `but not` in the GraphQL spec.
25export function butNot(rule: Rule, exclusions: Array<Rule>) {

Callers 4

mode.tsFile · 0.90
mode.tsFile · 0.90
Rules.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…