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

[Bug]: VSCode language service incorrectly reports error with @tagMetadata #5933

Open
4 tasks done
pschaeflein opened this issue Feb 10, 2025 · 0 comments
Open
4 tasks done
Labels
bug Something isn't working ide Issues for VS, VSCode, Monaco, etc.

Comments

@pschaeflein
Copy link

Describe the bug

Below is a screenshot of VSCode. The Problems panel reports that @tagMetadata must be used on the service namespace. This is incorrect.

Image

The OpenAPI emitter correctly includes the metadata.
Running tsp compile does not show errors.

The VSCode extension is version 0.64.1.

The errors show in the Problems panel only when the file containing the decorator is opened.
The errors also show in the terminal window for when running the auto-discovered task (From the "contributed" section of the VSCode command bar.)
The order of the tags does not matter (tagMetadata/service).

Related discussion: #3777 (comment)

Reproduction

Bug is in VSCode extension, not playground.

Checklist

@pschaeflein pschaeflein added the bug Something isn't working label Feb 10, 2025
@timotheeguerin timotheeguerin added the ide Issues for VS, VSCode, Monaco, etc. label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ide Issues for VS, VSCode, Monaco, etc.
Projects
None yet
Development

No branches or pull requests

2 participants