-
Notifications
You must be signed in to change notification settings - Fork 86
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
ChangeSpringPropertyKey - fails to touch coalesced yaml subproperties #581
Comments
Hmm, I feel I've dug up some skeletons in this code, particularly looking at this case again: rewrite-spring/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyKeyTest.java Lines 226 to 231 in 912d49d
The I also recognize that I was the one who added the Have we considered moving |
There's indeed a bit of unfortunate "here be dragons" to that ChangePropertyKey. From a quick search it appears that rewrite-spring is unique in using the yaml ChangePropertyKey. The properties variant is used by Quarkus and Micronaut as well. |
hm, I see in those search results |
What version of OpenRewrite are you using?
I am using
main
How are you running OpenRewrite?
unit tests
What is the smallest, simplest way to reproduce the problem?
edited this existing test case to include a third file of coalesced yaml properties:
What did you expect to see?
success
What did you see instead?
failure; no changes to that new third file
What is the full stack trace of any errors you encountered?
n/a
Are you interested in contributing a fix to OpenRewrite?
I've got some free time this week and will probably play with it, yeah
The text was updated successfully, but these errors were encountered: