-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assign unique key to each rule in generated model #208
Labels
Comments
some time i also facing problem when override the child model rules so please define unique string key creating model, |
How would we handle combined properties like |
Real rules:
with id:
|
This looks tricky, but - as always - PRs welcome. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
rules
generated in themodel
should be such that each rule must have its a unique string key,so that it can be easily overridden in the child model.
Example :
So that in the child class , it can be easily overridden like:
The text was updated successfully, but these errors were encountered: