Skip to main content
The Deno 2 Release Candidate is here
Learn more
function FragmentsOnCompositeTypesRule
import { FragmentsOnCompositeTypesRule } from "https://deno.land/x/graphql_deno@v15.0.0/lib/validation/index.d.ts";

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.

Returns

ASTVisitor