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

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

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

Unique input field names

A GraphQL input object value is only valid if all supplied fields are uniquely named.

Parameters

context: ASTValidationContext

Returns

ASTVisitor