Example doctrine subscription
Hi,
Thanks for tout great job, I arrive to implements notifications system like in your demo exemple.
I have some difficult with doctrine exemple implement in User entity,
Do you think It's possible to have a complete exemple with client sise javascript and doctrine system ?
Thanks in advance.
Hi,
Yes, some examples will be added in the documentation. In the meantime, you can have a look at the demo app.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
you said there will be some examples within the docs and there is one but it seems to be a bit messed up. In the User enity suddenly appears a $this->notifications, Notification[], $child. Then there is suddenly another Subscription entity.
Could you please provide a working example?
Hello @tuc0w. I am also trying to figure this out. The demo app does not contain any doctrine entities.
When using version 3.* I assume that writing your own entity class against SubscriptionInterface (and not extending with Subscription) seems to be the way to go.