Skip to content

ActivityPlug API / @activityplug/server / GraphQLAnalysisMetrics

Interface: GraphQLAnalysisMetrics ​

Defined in: packages/server/src/security/graphql-limits.ts:31

Properties ​

aliases ​

readonly aliases: number

Defined in: packages/server/src/security/graphql-limits.ts:32


complexity ​

readonly complexity: number

Defined in: packages/server/src/security/graphql-limits.ts:36

Every statically selected field costs one, including repeated spreads.


depth ​

readonly depth: number

Defined in: packages/server/src/security/graphql-limits.ts:34

Root fields have depth one; fragments do not add depth by themselves.