0

Apiplateform:V3 doesn't send Mercure update when I set my crud operations like Post

if I uncomment the operation below the mercure update fail being sent update are send only if I don t set the operations manualy

#[ORM\Entity(repositoryClass: PrestationRepository::class)]
#[ApiResource(mercure: true)]
//#[Post]
#[ApiFilter(SearchPrestationFilter::class)]

class Prestation
{
    #[ORM\Id]
    #[ORM\GeneratedValue]
    #[ORM\Column]
    private ?int $id = null;
Jamiu S.
  • 5,257
  • 5
  • 12
  • 34

0 Answers0