Move a local ResponseType into the query call that uses it
ProprietaryAxon Framework 5 dropped ResponseTypes: query(q, ResponseTypes.instanceOf(R.class)) becomes query(q, R.class), and multipleInstancesOf becomes queryMany. AxonIQ's recipe makes that change only where the ResponseTypes call is an argument of query, so this moves a local ResponseType variable used by exactly one query call, and nothing else, into that call.
io. moderne. axon. InlineResponseTypeVariablemod run . --recipe= io. moderne. axon. InlineResponseTypeVariableInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.