Add @Introspected to classes requiring a map representation
Apache 2.0In Micronaut 2.x a reflection-based strategy was used to retrieve that information if the class was not annotated with @Introspected. As of Micronaut 3.x it is required to annotate classes with @Introspected that are used in this way.
org. openrewrite. java. micronaut. TypeRequiresIntrospectionmod run . --recipe= org. openrewrite. java. micronaut. TypeRequiresIntrospectionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.