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: node_modules/.pnpm/@warp-d_25f56f2729dd79700790d78740333f27/node_modules/@warp-drive/build-config/dist/canary-features-uADmGk0K.d.ts:139

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.