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

attributes/props not being validated after update to > Volar v0.39.5 #1758

Closed
JarvisH opened this issue Aug 24, 2022 · 2 comments
Closed

attributes/props not being validated after update to > Volar v0.39.5 #1758

JarvisH opened this issue Aug 24, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@JarvisH
Copy link

JarvisH commented Aug 24, 2022

After updating to Volar 0.40.1 from 0.39.5, component prop-bindings are no longer validated.

// prop-binding should be marked as wrong in vscode, but is not.
<some-component :some-prop-expects-object="123" />

This occurs on Windows 10 while running Vscode from WSL2 Ubuntu.
On macOS the same issue could not be reproduced.

// output from "npx envinfo --system --binaries --browsers" if relevant:

  System:
    OS: Linux 4.19 Ubuntu 20.04.1 LTS (Focal Fossa)
    CPU: (3) x64 Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
    Memory: 28.78 GB / 31.36 GB
    Container: Yes
    Shell: 5.8 - /usr/bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  • Vscode is version 1.70.2
  • Takeovermode is enabled.
  • builtin Typescript is disabled.
@XenoMeri
Copy link

XenoMeri commented Aug 26, 2022

Me too, no code hint in template-attributes/props when I updating to Volar v0.40.1
Now I reinstalled back to v0.39.5

@johnsoncodehk
Copy link
Member

Duplicate of #1731

@johnsoncodehk johnsoncodehk marked this as a duplicate of #1731 Aug 27, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants