Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pothos/packages/plugin-complexity/mod.ts>complexityFromQuery

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
function complexityFromQuery
import { complexityFromQuery } from "https://deno.land/x/pothos@release-1708848346/packages/plugin-complexity/mod.ts";

Parameters

query: DocumentNode | string
options: { schema: GraphQLSchema; ctx?: { }; variables?: Record<string, unknown>; }