My architecture is based on Symfony 4.4 / ApiPLatform / Mercure / Angular 9. I've made working a simple push from Mercure by adding mercure:true in my resources.yaml ApiPlatform conf file. Now I need to make updates being private. So with ApiPlatform I have to add the parameter private:true. But the API response is now :
Targets do not exist anymore since Mercure 0.10. Mark the update as private instead or downgrade the Mercure Component to version 0.3
And this is my yaml configuration :
resources:
App\Entity\Order:
attributes:
mercure:
- private: true
- topics: ['object.getMercureTopics()']
What should be the right configuration ?