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

Possible document cache bug in apidom-ls #3684

Open
frantuma opened this issue Jan 17, 2024 · 0 comments
Open

Possible document cache bug in apidom-ls #3684

frantuma opened this issue Jan 17, 2024 · 0 comments
Assignees
Labels
ApiDOM bug Something isn't working

Comments

@frantuma
Copy link
Member

see #3682

by @char0n :

Needed to fiddle with document URI to see the bug. Creating unique document uri made me see the bug and uncovered a hidden issue
if you just revert my change, you won't see the bug related to linting. It seems that using same document URI and just changing spec does have some side effects resulting in incorrect linting
whatever change is made in packages/apidom-ls/src/config/openapi/header/lint/allowed-fields-2-0.ts doesn't inflence the test, unless you make change I did in packages/apidom-ls/test/validate-valid.ts

Haven't manage to figure out why codespace setup did uncovered the bug and not the CI or local dev setup

@frantuma frantuma added bug Something isn't working ApiDOM labels Jan 17, 2024
@frantuma frantuma self-assigned this Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ApiDOM bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant