CMTV
Well-known member
My entity has a complex primary key that consists of two columns:
Right now, when trying to create an entity which duplicates primary key, it shows an error:
For single column primary keys we can simply use
What is the preferred way to show a fancy error message?
criterion_id
and param_id
.Right now, when trying to create an entity which duplicates primary key, it shows an error:
For single column primary keys we can simply use
'unique' => true
.What is the preferred way to show a fancy error message?