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

[Feature Request] Some kind of debug / verbose mode for troubleshooting #1690

Open
2 tasks done
vesper8 opened this issue Sep 20, 2023 · 1 comment
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@vesper8
Copy link

vesper8 commented Sep 20, 2023

Describe the feature

I'm in the midst of migrating from vuex-orm to pinia-orm and I'm now far into it. I'm now faced with a huge performance issue.. feels like a memory leak of some kind.. I have a suspicion that it's due to the way I've set up my relationships. I got a clue due to the issue I've raised regarding the invalid boolean.. the clue is that when I have the invalid boolean warning, I got over one thousand warnings in my console.. even though the relation causing this warning only exists in single digits. So I have a feeling it's going through some crazy recursion but I'm really struggling to debug.

It would be nice if there was a debug flag that could be enabled that would be verbose in everything it's doing so I could pinpoint the source of this performance issue.

Is there perhaps already something like this?

Many thanks

Additional information

  • Would you be willing to help implement this feature?

Final checks

@CodeDredd CodeDredd added enhancement New feature or request and removed pending triage labels Sep 20, 2023
@CodeDredd
Copy link
Owner

CodeDredd commented Sep 20, 2023

No right now there is no verbose mode.
My plan was to include pinia-orm better to the devtools, like pinia. This i think is a better place for this.

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

No branches or pull requests

2 participants