Convert MongoRepository to PanacheMongoRepository

MSAL

Transforms Spring Data MongoRepository<T, ID> interfaces to Quarkus PanacheMongoRepository<T>, dropping the ID type parameter.

org.openrewrite.quarkus.spring.MongoRepositoryToPanacheMongoRepository
mod run . --recipe=org.openrewrite.quarkus.spring.MongoRepositoryToPanacheMongoRepository

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.