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

Component API provide doesn't support symbols #2615

Closed
privatenumber opened this issue Nov 16, 2020 · 2 comments · Fixed by #2616
Closed

Component API provide doesn't support symbols #2615

privatenumber opened this issue Nov 16, 2020 · 2 comments · Fixed by #2616
Labels
has PR A pull request has already been submitted to solve the issue 🐞 bug Something isn't working

Comments

@privatenumber
Copy link
Contributor

privatenumber commented Nov 16, 2020

Version

3.0.2

Reproduction link

Bug reproduction on CodePen

Steps to reproduce

Try providing a Symbol. It wont inject.

What is expected?

For the symbol provide to work. Especially because using provide() in setup() and app#provide() supports Symbol and is documented.

What is actually happening?

Symbol provide is not working.

@Alanscut
Copy link
Contributor

Hi @privatenumber , as a workaround, use setup maybe solve this issue?
https://codepen.io/alanscut/pen/rNLRWqB?editors=0010

@privatenumber
Copy link
Contributor Author

I'm aware but thanks for reminding me. I meant to mention that as a reason for why it's expected to work.

@posva posva added 🐞 bug Something isn't working has PR A pull request has already been submitted to solve the issue labels Nov 18, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
has PR A pull request has already been submitted to solve the issue 🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants