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

Cannot suppress errors in $refs using "where" clauses #699

Open
mikeharder opened this issue Jun 1, 2024 · 0 comments
Open

Cannot suppress errors in $refs using "where" clauses #699

mikeharder opened this issue Jun 1, 2024 · 0 comments
Assignees

Comments

@mikeharder
Copy link
Member

Is this PR, there are only 3 instances of vmTags.additionalProperties in the source code, but about 9 AvoidAdditionalProperties errors are reported, since the instances are consumed other places via $ref.

https://github.com/Azure/azure-rest-api-specs/pull/29101/checks?check_run_id=25631949240

image

Neither the spec author, nor I, was able to suppress the errors raised via properties inside $refs using where clauses. So the spec author had to use a global suppress.

If #697 is fixed, this issue might be moot, since the errors will never be raised in the first place. But it would still be good to know why these can't be suppressed.

@mikeharder mikeharder self-assigned this Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Status: No status
Development

No branches or pull requests

1 participant