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

feat: warn when create store with exsist id #1564

Closed
wants to merge 3 commits into from
Closed

Conversation

OXXXRA
Copy link

@OXXXRA OXXXRA commented Aug 18, 2022

closes #1394

@netlify
Copy link

netlify bot commented Aug 18, 2022

Deploy Preview for pinia-official canceled.

Name Link
🔨 Latest commit 5a35178
🔍 Latest deploy log https://app.netlify.com/sites/pinia-official/deploys/633ad0a30c96740009dd88c6

Copy link

@isbik isbik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@OXXXRA
Copy link
Author

OXXXRA commented Aug 25, 2022

@posva, hi, it's ok?

@OXXXRA OXXXRA changed the title feature/warn when create store with exsist id feat: warn when create store with exsist id Aug 29, 2022
@posva
Copy link
Member

posva commented Aug 31, 2022

Thanks but this seem like a copy of #1452 with only one test added... That PR implementation doesn't work, if you try it locally you will see how the console is flushed with warnings when running the tests... Also, the warning is still not dev only.

@OXXXRA
Copy link
Author

OXXXRA commented Aug 31, 2022

@posva, now i added output only for dev, also checked warn output in playground.
Снимок экрана 2022-08-31 в 20 08 33

@posva
Copy link
Member

posva commented Oct 6, 2022

Thanks but this still doesn't work and my feedback is getting ignored so I prefer closing this so other contributors feel free to open a new PR

@posva posva closed this Oct 6, 2022
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

Successfully merging this pull request may close these issues.

Warn if two stores are defined with the same name
4 participants