Closed blurey8 closed 4 years ago
:tada: This issue has been resolved in version 1.0.0-beta.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
My model:
When I create new instance with existing email on admin bro dashboard, the debug console throw
SequelizeUniqueConstraintError: Validation error
and the loading on save button didn't stop. I want to prevent this error just like Sequelize ValidationError. Since UniqueConstraintError is subclass of ValidationError, I suggest change onresource.js
onadmin-bro-sequelizejs
.before:
suggested:
And all works just like ValidationError.
Can we get update on
admin-bro-sequelizejs
or is there something I can do to fix this? (either make PR or change something in my code to handle this).