i used the UniqueEntity annotation to prevent using the same word more two times with same local value, with my POST requests there are not problem but when I try to use PUT requests
the bundle does not UPDATE the data, it removes the records to insert new values so I get this error :
"detail": "translations [fr] .locale: This value is already used."
Hello , my problem it's with the validation of the fields of my entity. Example: in my class
i used the UniqueEntity annotation to prevent using the same word more two times with same local value, with my POST requests there are not problem but when I try to use PUT requests the bundle does not UPDATE the data, it removes the records to insert new values so I get this error : "detail": "translations [fr] .locale: This value is already used."
when I send this json to my endpoint:
someone can give any hints ? thank you in advance