Skip to content

Documentation / @warp-drive/core / build-config/canary-features / JSON_API_CACHE_VALIDATION_ERRORS

ts
const JSON_API_CACHE_VALIDATION_ERRORS: boolean | null;

Defined in: warp-drive-packages/build-config/declarations/canary-features.d.ts:159

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.

Since

5.4

Released under the MIT License.