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

🐛 Circular dependencies in Backend #381

Open
AdrKacz opened this issue Feb 21, 2023 · 1 comment
Open

🐛 Circular dependencies in Backend #381

AdrKacz opened this issue Feb 21, 2023 · 1 comment
Labels
bug Something isn't working priority:P2 Second order priority

Comments

@AdrKacz
Copy link
Owner

AdrKacz commented Feb 21, 2023

Describe the bug

sendMessages > sendMessage > disconnectUser > sendMessages

To Reproduce

Only happens when you need disconnectUser

Expected behavior

Shouldn't bug, we need to flatten this dependencies

Error Log

ERROR	(node:8) Warning: Accessing non-existent property 'sendMessages' of module exports inside circular dependency
@AdrKacz AdrKacz added bug Something isn't working priority:P1 Top priority labels Feb 21, 2023
@AdrKacz
Copy link
Owner Author

AdrKacz commented Feb 27, 2023

Pas d'erreur coté client, simplement des mauvais status sur la connection, ça passe en P2.

@AdrKacz AdrKacz added priority:P2 Second order priority and removed priority:P1 Top priority labels Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:P2 Second order priority
Projects
None yet
Development

No branches or pull requests

1 participant