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

add missing field descriptions for anyOf #1007

Merged

Conversation

ytausch
Copy link
Contributor

@ytausch ytausch commented Jan 7, 2025

What does this PR do?

Currently, descriptions directly associated with anyOf fields are not shown when hovering. This PR ensures that descriptions for anyOf fields do not only show the descriptions of their children but also the parent description.

What issues does this PR fix or reference?

fixes #952

Is it tested? How?

Yes, please see the modified unit test files.

@msivasubramaniaan
Copy link
Contributor

@ytausch build is failing and please fix the lint issues

@ytausch ytausch force-pushed the anyof-parent-descriptions branch from 90ddd5b to 49f1ab4 Compare January 21, 2025 16:37
@ytausch
Copy link
Contributor Author

ytausch commented Jan 21, 2025

@msivasubramaniaan done, could you please approve the workflow again?

@coveralls
Copy link

coveralls commented Jan 30, 2025

Coverage Status

coverage: 84.321% (+0.04%) from 84.285%
when pulling c0fd2d6 on ytausch:anyof-parent-descriptions
into 1690699 on redhat-developer:main.

Copy link
Contributor

@msivasubramaniaan msivasubramaniaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for the contribution @ytausch

@msivasubramaniaan msivasubramaniaan merged commit 8a38d41 into redhat-developer:main Jan 30, 2025
4 checks passed
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.

Hover: Show root property title and description when using anyOf untitled un-described types
3 participants