Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce autoValidate setting for RecordCache and RecordSource #915

Merged
merged 1 commit into from
Jan 21, 2022

Commits on Jan 21, 2022

  1. Introduce autoValidate setting for RecordCache and RecordSource

    This setting mirrors `autoUpgrade` and `autoActivate` in that if it is left `undefined` it should be treated as `true`.
    
    `RecordCache` and `RecordSource` use this to determine whether to build validators if none are provided.
    
    `SyncRecordCache` and `AsyncRecordCache` 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`.
    dgeb committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    d980f48 View commit details
    Browse the repository at this point in the history