Category: constraints

I need help writing the right constraint syntax in annotation form for validating array of objects

I’m using Symfony 5. In my app, I have a react app that posts entity data to the server. Then on the server side, I’ll json_decode the data into an object, then validate and persist it to the database. I…