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
We are implementing a project with diferent models which has "singular" attributes (String, Integer, etc.) and nested Models/Collections too.
Is there any mechanism (recursive mechanism, for example) that can validate us a Model instance with its validation rules for simple types (String, Number, etc.) and, if an
attribute is of type Backbone.Model or Backbone.Collection, then it's validated again (recursivity is on)?
So, each validation rules are in its right place: each Model or each Collection has its own rules.
Thanks in advance!!
The text was updated successfully, but these errors were encountered:
Hi!!
We are implementing a project with diferent models which has "singular" attributes (String, Integer, etc.) and nested Models/Collections too.
Is there any mechanism (recursive mechanism, for example) that can validate us a Model instance with its validation rules for simple types (String, Number, etc.) and, if an
attribute is of type Backbone.Model or Backbone.Collection, then it's validated again (recursivity is on)?
So, each validation rules are in its right place: each Model or each Collection has its own rules.
Thanks in advance!!
The text was updated successfully, but these errors were encountered: