Convert OncePerRequestServerFilter extensions to HttpServerFilter
Apache 2.0Starting in Micronaut 3.0 all filters are executed once per request. Directly implement HttpServerFilter instead of extending OncePerRequestHttpServerFilter and replace any usages of micronaut.once attributes with a custom attribute name.
org. openrewrite. java. micronaut. OncePerRequestHttpServerFilterToHttpServerFiltermod run . --recipe= org. openrewrite. java. micronaut. OncePerRequestHttpServerFilterToHttpServerFilterInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.