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

fix: doNotSuggest for property and value completion #23

Closed

Conversation

p-spacek
Copy link
Collaborator

@p-spacek p-spacek commented Nov 6, 2023

What does this PR do?

RedHat PR: redhat-developer#911

exclude doNotSuggest schema from autocompletion
doNotSuggest was already there but implemented only for the simple object properties.
This PR uses doNotSuggest also for other scenarios: anyOf, values

"anyOf":[
  {
     "$ref": "schema1",
     "doNotSuggest": true
   },
  {
     "$ref": "schema2",
   }
]

Is it tested? How?

adds unit tests

@p-spacek p-spacek closed this Nov 6, 2023
@p-spacek p-spacek force-pushed the fix/doNotSuggest-for-property-and-value-completion-JIGX branch from d7c2154 to 4a50bef Compare November 6, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant