offirgolan / ember-state-manager

An Ember state management solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Per bucket validations

knownasilya opened this issue · comments

Would love an example of validations with a buffer on a per bucket basis. How would one do that?

Do you mean that each bucket should be able to have a different set of validations?

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.