Welcome Guest, Not a member yet? Register   Sign In
More flexible validationRules in model?
#4

The thing is that introducing separated valuation rules for insert and update would be a BC change and would have to wait until v4.1 release. That's the only downside.

When it comes to dynamic rules changing - from my point of view, it would be simpler than creating a separate model just to have different validation rules. Also, validation rules may differ for example by user permission/group... but as you said - validation can be done also outside of the model. Although it would mean that you always have to write more code... but now I'm thinking... maybe it's actually the right approach that everyone should use?
Reply


Messages In This Thread
RE: More flexible validationRules in model? - by michalsn - 03-02-2020, 12:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB