symfony/mercure-bundle

[Informations] How to handle relations ?

Opened this issue · 0 comments

We are trying to find a good and easy way to handle relations.

I explain, I have :

  • 1 entity Website
  • n entites Url, related to Website (1 Website can have multiple Url)

I want to get notified when I create an Url related to the Website, I want the topic Website to be updated.

For now, I manually change a property in the parent (for example a field updatedAt).

Can I use some better way ? Or did I miss something in the doc ?