Closed dgeb closed 2 years ago
This setting mirrors autoUpgrade and autoActivate in that if it is left undefined it should be treated as true.
autoUpgrade
autoActivate
undefined
true
RecordCache and RecordSource use this to determine whether to build validators if none are provided.
RecordCache
RecordSource
SyncRecordCache and AsyncRecordCache also use this option to control whether a schema validation processor is included by default.
SyncRecordCache
AsyncRecordCache
This will provide more fine-tuned control over whether validators are built and used by a source / cache than checking Orbit.debug.
Orbit.debug
Closes #903
Note: This is considered a breaking change because Orbit.debug is no longer used to implicitly set autoValidate.
autoValidate
This setting mirrors
autoUpgrade
andautoActivate
in that if it is leftundefined
it should be treated astrue
.RecordCache
andRecordSource
use this to determine whether to build validators if none are provided.SyncRecordCache
andAsyncRecordCache
also use this option to control whether a schema validation processor is included by default.This will provide more fine-tuned control over whether validators are built and used by a source / cache than checking
Orbit.debug
.Closes #903
Note: This is considered a breaking change because
Orbit.debug
is no longer used to implicitly setautoValidate
.