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

Added support for namespaced vuex modules #242

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dgiangrave
Copy link

@dgiangrave dgiangrave commented Mar 18, 2020

This PR contains the modifications for supporting namespaced Vuex modules. In earlier versions the system ignored namespaces on the store but kept the full path of the incoming event. Now if a prefix exists, it is parsed into the key path after the last separator.

Additionally, some changes were made to align with the documentation specifying that prefixes are purely optional and if not specified would default to null. This has been corrected for both actions and mutations. The readme has been updated to reflect all changes.

Edit: Rolled back changes by @focux in commit 8988085 due to inconsistencies in the documentation and numerous breaking changes. I'd recommend reviewing these past changes and recommitting them when properly tested and evaluated for all potential cases.

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.

None yet

1 participant