function ScalarLeafsRule
import { ScalarLeafsRule } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/validation/rules/ScalarLeafsRule.d.ts";

Scalar leafs

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