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

TypeError can't convert symbol to string - Bug or limitation? #9727

Closed
jairoblatt opened this issue Nov 30, 2023 · 0 comments · Fixed by #9731
Closed

TypeError can't convert symbol to string - Bug or limitation? #9727

jairoblatt opened this issue Nov 30, 2023 · 0 comments · Fixed by #9731
Labels
has PR A pull request has already been submitted to solve the issue 🐞 bug Something isn't working 🔩 p2-edge-case

Comments

@jairoblatt
Copy link

jairoblatt commented Nov 30, 2023

Vue version

3.3.9

Link to minimal reproduction

https://codesandbox.io/p/sandbox/aged-fast-swhdxq

Steps to reproduce

Click in the button "Click me" to set a new map item

What is expected?

render something like "Symbol()" as the map key

What is actually happening?

When i try to set a new map item with a symbol key the template cannot rendering it, throwing a typerror in console "can't convert symbol to string", i could not find any information about this limitation(?) in the documentation, this is the reason why I'm opening this issue

System Info

System:
    OS: Windows 11 10.0.22621
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 2.36 GB / 15.73 GB
  Binaries:
    Node: 18.18.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.11.0 - ~\AppData\Local\pnpm\pnpm.EXE

Any additional comments?

No response

@edison1105 edison1105 added 🐞 bug Something isn't working 🔩 p2-edge-case labels Dec 1, 2023
@pikax pikax added the has PR A pull request has already been submitted to solve the issue label Dec 1, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 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 🔩 p2-edge-case
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants