-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
We're trying to update to remediate these vulnerabilities:
But when we do so we get the following error when compiling the TypeScript
error TS2322: Type 'import("/node_modules/@escape.tech/graphql-armor-cost-limit/node_modules/graphql/validation/ValidationContext").ValidationRule[]' is not assignable to type 'import("/node_modules/graphql/validation/ValidationContext").ValidationRule[]'.
Type 'import("/node_modules/@escape.tech/graphql-armor-cost-limit/node_modules/graphql/validation/ValidationContext").ValidationRule' is not assignable to type 'import("/node_modules/graphql/validation/ValidationContext").ValidationRule'.
Types of parameters 'context' and 'context' are incompatible.
Type 'import("/node_modules/graphql/validation/ValidationContext").ValidationContext' is not assignable to type 'import("/node_modules/@escape.tech/graphql-armor-cost-limit/node_modules/graphql/validation/ValidationContext").ValidationContext'.
Types have separate declarations of a private property '_schema'.
validationRules: apolloProtection.validationRules,
From this line of code
validationRules: apolloProtection.validationRules
(in a Nest.js codebase if that matters).
mrs-eload, JonathanManass, aphilippejolivel, guillaumemerviel, wallonc and 14 moregilleta
Metadata
Metadata
Assignees
Labels
No labels