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

fix: display injection of 'symbol' key #1648

Merged
merged 1 commit into from
Dec 30, 2021
Merged

Conversation

konpeki622
Copy link
Contributor

Fixes and closes #1643 .

I also make it support default value, for example change the test component Provide of devtools to:

inject: {
  i: {from: 'injectedta', default: 'wrong key name'}, 
  [Symbol('alias')]: symbolForProvided
},

Then on the devtools panel showed:
image

@Akryum Akryum merged commit 5ab4f74 into vuejs:main Dec 30, 2021
@konpeki622 konpeki622 deleted the fix/symbol branch December 30, 2021 11:57
@konpeki622 konpeki622 restored the fix/symbol branch January 22, 2022 06:39
@konpeki622 konpeki622 deleted the fix/symbol branch January 22, 2022 06:39
@konpeki622 konpeki622 restored the fix/symbol branch January 22, 2022 06:39
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.

provide with a symbol key can not be inject by dev-tool
2 participants