Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FragmentsOnCompositeTypesRule

Fragments on composite type

Fragments use a type condition to determine if they apply, since fragments can only be spread into a composite type (object, interface, or union), the type condition must also be a composite type.

See https://spec.graphql.org/draft/#sec-Fragments-On-Composite-Types

function FragmentsOnCompositeTypesRule(context: ValidationContext): ASTVisitor;
§
FragmentsOnCompositeTypesRule(context: ValidationContext): ASTVisitor
[src]

§Parameters