Replace DTO method parameters with data elements
MSALReplace method parameters that have DTOs with their data elements when only the specified data element is used.
org. openrewrite. java. migrate. DontOverfetchDtoRequired
The fully qualified name of the DTO.
Replace the DTO as a method parameter when only this data element is used.
mod run . --recipe= org. openrewrite. java. migrate. DontOverfetchDto \
-P dtoType= animals. Dog \
-P dtoDataElement= nameInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.