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

#939 Refactor legacy VueX checking #970

Merged
merged 3 commits into from
Apr 12, 2019
Merged

#939 Refactor legacy VueX checking #970

merged 3 commits into from
Apr 12, 2019

Conversation

bajzarpa
Copy link
Contributor

Solves #939

Contains 2 bugfixes.

So as I mentioned in the source issue, the config reading isn't worked for some reason, but instead of applying a separate option, my thought was to better to figure out the current VueX version.

Since the commit not exist in the older (as you call legacy) versions my ide was that to check this function and the existence of it.

There was an other compatibility issue as well which caused by how the payload was passed to the mutation handler on legacy mode. I've solved this with simply convert the payload to an array when it's a legacy mode.

@bajzarpa bajzarpa changed the title #939 Refactor old VueX checking #939 Refactor legacy VueX checking Apr 12, 2019
@Akryum Akryum merged commit fe067b6 into vuejs:dev Apr 12, 2019
sp1ker pushed a commit to sp1ker/vue-devtools that referenced this pull request Aug 24, 2020
* Change isLegacy checking strategy, adapt mutation handling to vuex 1

* ./src/backend

remove setting and related data

* Check the legacy mode before converting the payload
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.

2 participants