Move an event's @Revision to the version of its @Event
ProprietaryAxonIQ's recipes turn @Revision("x") into @Event(version = "x") only on the payload types of @EventSourcingHandler methods, and leave it, in a package Axon Framework 5 doesn't declare it in, on other events. This gives such a class @Event(version = "x"), or adds the version to the @Event it has. @Revision on an event-sourced entity, where it versioned snapshots, is left to a person.
io. moderne. axon. MigrateRemainingRevisionmod run . --recipe= io. moderne. axon. MigrateRemainingRevisionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.