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

fix(generators): Add main schema to all validators #2997

Merged
merged 1 commit into from
Jan 20, 2023
Merged

Conversation

daffl
Copy link
Member

@daffl daffl commented Jan 20, 2023

This pull request adds the main schema to the validator instance so that references do not throw an error. It also changes all remaining references to the no longer needed getDataValidator to getValidator.

Closes #2993

@netlify
Copy link

netlify bot commented Jan 20, 2023

Deploy Preview for feathers-dove ready!

Name Link
🔨 Latest commit bd993d2
🔍 Latest deploy log https://app.netlify.com/sites/feathers-dove/deploys/63caf390c85cd7000910abfa
😎 Deploy Preview https://deploy-preview-2997--feathers-dove.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@daffl daffl merged commit 5854dea into dove Jan 20, 2023
@daffl daffl deleted the add-validator-2993 branch January 20, 2023 20:20
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 this pull request may close these issues.

[cli] register main schemas using dataValidator.addSchema(<service>Schema)
1 participant