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

Allow whitelisted model attribute properties #97

Closed
wants to merge 2 commits into from

Conversation

danielsharvey
Copy link

@danielsharvey danielsharvey commented Jun 17, 2018

Allow model attribute properties whitelisted in config/models.js: validations.ignoreProperties[].

This was previously possible in waterline v0.11.12. See waterline/lib/waterline/core/validations.js, specifically line 64-66.

Happy to submit PR for documentation update if this is accepted.

Please advise if this should be handled another way.

Allow model attribute properties whitelisted in config/models.js: validations.ignoreProperties[].
@mikermcneil
Copy link
Member

Hey @danielsharvey - thanks for bringing this up! Check out #96 (comment)

@danielsharvey
Copy link
Author

Thanks @mikermcneil. Apologies for forgetting to respond. I am now using meta as per your recommendation.

To aide others, I've added this to the documentation here balderdashy/sails-docs#1308.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants