All Questions
3 questions
-2
votes
1
answer
716
views
Validate an Entity through an API with Symfony
I have an entity with simple fields. Unfortunately, I can't say what are the validation constraint on the Symfony side. I must post these information on an API route. If it returns no error message, I ...
0
votes
1
answer
49
views
Symfony 4.3.5 - formbuilder and errors validation for update parent relation
I create VehicleType:
class VehicleType extends AbstractType {
public function buildForm(FormBuilderInterface $builder, array $options) {
$builder
->add('name')
...
1
vote
1
answer
3k
views
Symfony form submission with handleRequest issue
I'm experiencing an odd error with my form validation in Symfony 4. It is a simple contact form represented by this entity:
class ContactRequest
{
/** @var int */
private $id;
/** @...