-
|
Hey, I'm facing a situation where I need to replace a class that was already removed with a new one, but the built-in I'm getting the following: I understand that Is this intended behavior? Is there any setting I could apply to use |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
hi! We need type information to be able to make code changes; in your test you do not provide the type on the classpath, either through For your recipe consumers, do you expect the type to be missing there too (e.g. the project does not compile)? Or is it still present on the version they are using? I suspect the latter, so then your test can be made to run through any of the three methods named above. Let me know if that's not clear, or not what you had intended! |
Beta Was this translation helpful? Give feedback.
-
|
Hey,
Yes, I expect it will be missing. The type I want to replace has been removed, and the project does not compile. In that case, the type is not present in the classpath. Is it still possible to use the recipe |
Beta Was this translation helpful? Give feedback.
-
|
@timtebeek, thanks for the answer. It helped me figure out a way to do that. You're right. I can use |
Beta Was this translation helpful? Give feedback.
-
|
For visibility, here's the solution using |
Beta Was this translation helpful? Give feedback.
For visibility, here's the solution using
dependsOn: