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

Variable JSON_API_CACHE_VALIDATION_ERRORS sincev5.4 ​

ts
const JSON_API_CACHE_VALIDATION_ERRORS: boolean | null;

Defined in: warp-drive-packages/build-config/src/canary-features.ts:142

This upcoming feature adds a validation step to payloads received by the JSONAPICache implementation.

When a request completes and the result is given to the cache via cache.put, the cache will validate the payload against registered schemas as well as the JSON:API spec.

Released under the MIT License.