You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be a minor regression of behaviour from Sails v0.12.14, whose underlying waterline v0.11.12 allows the use of validations.ignoreProperties[] configuration, which I have used to configure custom behaviour in custom blueprints.
I have proposed a pull request to reintroduce this behaviour:
Allow model attribute properties whitelisted in config/models.js: validations.ignoreProperties[].
Sails version: v1.0.2
Node version: v10.2.1
NPM version: 6.1.0
DB adapter name: sails-mysql
DB adapter version: 1.0.0
Operating system: MacOS 10.13.5
This appears to be a minor regression of behaviour from Sails v0.12.14, whose underlying waterline v0.11.12 allows the use of validations.ignoreProperties[] configuration, which I have used to configure custom behaviour in custom blueprints.
I have proposed a pull request to reintroduce this behaviour:
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.
The text was updated successfully, but these errors were encountered: