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: warp-drive-packages/build-config/src/canary-features.ts:156

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.