-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Bug doing put in model whit unique field (version 2.4.5) #428
Comments
Error also with
|
@josejachuf unfortunately, the In order to solve your issue in the meantime you have two options: i) rely on index constraint only, dropping the @your_rest_module.before_update
def _fix_unique_validator(row, params):
current._dbvalidation_record_id_ = row.id I gonna keep this open until I write down a proper feature change for 2.5 |
I'm closing this in favour of emmett-framework/firestorm#2 |
I have a model with a unique field, if I make a put (using Emmett-REST) I get an error in which you do not be valid and forces me to change name value
This fails with these versions:
and works fine whit:
The text was updated successfully, but these errors were encountered: