Closed
Description
Symfony version(s) affected: 5.2 (symfony/uid + symfony/form)
Description
Hello,
I am using the newly shipped uid component π (great work btw) and implementing tests.
I have :
- a Product with a uuid as a primary key
- a form type having a product field which is an EntityType
When I submit the form with an invalid uid, it throws an exception causing a 500 which is not really friendly.
How to reproduce
Possible Solution
Would it be possible to have the same behaviour as any other choicetype so that we can have a 400 with an invalid error message ?