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 RecordSource and RecordCache #903

Closed
dgeb opened this issue Jan 6, 2022 · 0 comments · Fixed by #915
Closed

Introduce autoValidate setting for RecordSource and RecordCache #903

dgeb opened this issue Jan 6, 2022 · 0 comments · Fixed by #915
Milestone

Comments

@dgeb
Copy link
Member

dgeb commented Jan 6, 2022

This setting will mirror autoUpgrade and autoActivate in that if it is left undefined it should be treated as true.

RecordCache and RecordSource will use this to determine whether to build validators if none are provided.

SyncRecordCache and AsyncRecordCache should 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 dgeb added this to the 0.17 milestone Jan 6, 2022
@dgeb dgeb changed the title Introduce autoValidate setting for RecordSource and RecordCache Introduce buildValidators setting for RecordSource and RecordCache Jan 21, 2022
@dgeb dgeb changed the title Introduce buildValidators setting for RecordSource and RecordCache Introduce autoValidate setting for RecordSource and RecordCache Jan 21, 2022
@dgeb dgeb closed this as completed in #915 Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant