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

Docs: Add Section on MikroORM Listeners Gotchas #1193

Open
thekevinbrown opened this issue Sep 23, 2024 · 0 comments
Open

Docs: Add Section on MikroORM Listeners Gotchas #1193

thekevinbrown opened this issue Sep 23, 2024 · 0 comments

Comments

@thekevinbrown
Copy link
Member

Describe the bug

Some of the stuff that Mikro-Orm says to do seems to crash Graphweaver. For instance, I followed a guide from Mikro-Orm to setup an event subscriber with the intent of using that to listen to all CRUD operations and send websocket the messages rather than duplicating that code across the various entity hooks. However, when I implemented it, it triggered the events as expected, however it never returns the payload.

MikroORM listeners are quite low level, and they do work with Graphweaver, but we should provide some examples as to what you can / can't do with them.

Additional context
https://graphweaver.slack.com/archives/D0730MYM74Z/p1726103546839589?thread_ts=1723672001.215299&cid=D0730MYM74Z

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

No branches or pull requests

1 participant