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

x/pothos/packages/plugin-complexity/calculate-complexity.ts>complexityFromSelectionSet

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

Parameters

ctx: { }
info: PartialInfo
selectionSet: SelectionSetNode