Skip to content

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

ts
const JSON_API_CACHE_VALIDATION_ERRORS: boolean | null = false;

Defined in: canary-features.ts:161

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.