-
Notifications
You must be signed in to change notification settings - Fork 356
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
feat: Added option to comment out property in yaml #4741
feat: Added option to comment out property in yaml #4741
Conversation
ashakirin
commented
Dec 4, 2024
•
edited by timtebeek
Loading
edited by timtebeek
- Refs: Extend YAML CommentOutProperty with option to keep original property uncommented #4740
rewrite-yaml/src/main/java/org/openrewrite/yaml/CommentOutProperty.java
Outdated
Show resolved
Hide resolved
rewrite-yaml/src/main/java/org/openrewrite/yaml/CommentOutProperty.java
Outdated
Show resolved
Hide resolved
rewrite-yaml/src/main/java/org/openrewrite/yaml/CommentOutProperty.java
Outdated
Show resolved
Hide resolved
…erty.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…erty.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the addition and thorough tests! I've added some light polish to ensure any declarative usages do not fail with an NPE on the nullable field added.
@timtebeek Thanks, Tim!
Do you think would be possible to consolidate the names? |
Sure! the yaml |