Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example doctrine subscription #2

Open
john-dufrene-dev opened this issue May 30, 2021 · 6 comments
Open

Example doctrine subscription #2

john-dufrene-dev opened this issue May 30, 2021 · 6 comments
Assignees
Labels
pinned Pinned issues

Comments

@john-dufrene-dev
Copy link

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.

@Spomky
Copy link
Member

Spomky commented Jun 14, 2021

Hi,

Yes, some examples will be added in the documentation.
In the meantime, you can have a look at the demo app.

@stale
Copy link

stale bot commented Aug 13, 2021

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.

@stale stale bot added the wontfix This will not be worked on label Aug 13, 2021
@Spomky Spomky removed the wontfix This will not be worked on label Aug 13, 2021
@stale
Copy link

stale bot commented Oct 12, 2021

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.

@stale stale bot added the wontfix This will not be worked on label Oct 12, 2021
@Spomky Spomky self-assigned this Oct 13, 2021
@stale stale bot removed the wontfix This will not be worked on label Oct 13, 2021
@stale
Copy link

stale bot commented Dec 15, 2021

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.

@stale stale bot added the wontfix This will not be worked on label Dec 15, 2021
@Spomky Spomky added the pinned Pinned issues label Dec 16, 2021
@stale stale bot removed the wontfix This will not be worked on label Dec 16, 2021
@tuc0w
Copy link

tuc0w commented Apr 21, 2023

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?

@potibm
Copy link
Contributor

potibm commented Dec 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned Pinned issues
Projects
None yet
Development

No branches or pull requests

4 participants