Make the private helpers of static command handlers static
ProprietaryAxonIQ's recipes turn the @CommandHandler constructor that creates an aggregate into Axon Framework 5's static command handler. A private method of the aggregate that it calls, and that uses no instance state, is made static so that the handler can still call it.
io. moderne. axon. MakeCreationHandlerHelpersStaticmod run . --recipe= io. moderne. axon. MakeCreationHandlerHelpersStaticInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.