Closed timo-abele closed 4 months ago
I think this should do it;
Are you able to build and test that snapshot ahead of a merge & release? That would be ideal.
Thanks for the quick work! The PR looks good to me.
Thanks for trying it out and confirming here! Should land in the next release, which is likely in the next couple days or next week.
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
This is just a sketch, I hope you can gather what's wrong from this, let me know if you need more info.
What did you expect to see?
not adding the annotation would work, not sure if there is a correct way of adding the annotation.
What did you see instead?
@DependsOnDatabaseInitialization
is added to the class and causes a org.springframework.beans.factory.BeanCreationException.What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
I don't have much time to research/debug this. I can test a snapshot release if it is published within this week.