Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function ScalarLeafsRule
import { ScalarLeafsRule } from "https://deno.land/x/graphql_deno@v15.0.0/lib/validation/index.js";

Scalar leafs

A GraphQL document is valid only if all leaf fields (fields without sub selections) are of scalar or enum types.

Parameters

context