Skip to content
New issue

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

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

Already on GitHub? # to your account

removeItems action added after create when upgrading version from version 0.4.0 to 0.4.1 #19

Closed
ghost opened this issue Jun 6, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 6, 2017

When creating an action with:
this.createMessage({'text': 'some message'})

I expect a new message to be added to the store.

This happens in version 0.4.0, but after upgrading to 0.4.1 there is an additional unwanted action added: messages/removeItems

This makes the state for the messages module 0, which is unexpected and undesirable behaviour.

How can I resolve this issue?

Module versions (especially the part that's not working): feathers-vuex 0.4.0 - 0.4.1
NodeJS version: v6.10.2
Operating System: Windows 8.1
Browser Version: Chrome Version 58.0.3029.110 (64-bit)
React Native Version: not applicable.
Module Loader: webpack

@marshallswain
Copy link
Member

For now, just go back to the version before this feature was added.

npm install feathers-vuex@0.3.1.

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

No branches or pull requests

1 participant