Skip to content
module@warp-drive/core/build-config/canary-features

Variable ENFORCE_STRICT_RESOURCE_FINALIZATION sincev5.7

ts
const ENFORCE_STRICT_RESOURCE_FINALIZATION: boolean | null;

Defined in: node_modules/.pnpm/@warp-d_25f56f2729dd79700790d78740333f27/node_modules/@warp-drive/build-config/dist/canary-features-uADmGk0K.d.ts:150

This upcoming feature adds a validation step when schema.fields({ type }) is called for the first time for a resource.

When active, if any trait specified by the resource or one of its traits is missing an error will be thrown in development.

Released under the MIT License.