Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drash/src/services/graphql/graphql.ts>GraphQL.ScalarLeafsRule

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
function GraphQL.ScalarLeafsRule
import { GraphQL } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/graphql.ts";
const { ScalarLeafsRule } = GraphQL;

Scalar leafs

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