Per bucket validations
knownasilya opened this issue · 3 comments
knownasilya commented
Would love an example of validations with a buffer on a per bucket basis. How would one do that?
knownasilya commented
Ah, I think http://offirgolan.github.io/ember-cp-validations/docs/modules/Advanced.html#nested-keys is the answer.
offirgolan commented
Do you mean that each bucket should be able to have a different set of validations?
knownasilya commented
Yeah, at least that's how I envisioned buckets when I saw them documented. I did realize that bucket just means a clone of the initial state, but it would be interesting to have groups of state. So states/user.js
would allow for a user model, but also would have other "buckets" relating to the user.