Skip to content

Axon 5 type alias serializer#517

Merged
JohT merged 2 commits into
mainfrom
feature/axon-5-type-alias-serializer
May 30, 2026
Merged

Axon 5 type alias serializer#517
JohT merged 2 commits into
mainfrom
feature/axon-5-type-alias-serializer

Conversation

@JohT
Copy link
Copy Markdown
Owner

@JohT JohT commented May 20, 2026

🚀 Features

  • Add type alias serializer for axon 5.: Adds a new Axon Framework 5 adapter module that enables resolving MessageType names via type-alias ResourceBundle entries, plus a minimal integration-test module demonstrating end-to-end alias usage within Axon.

⚙️ Optimizations

@JohT JohT self-assigned this May 20, 2026
@JohT JohT force-pushed the feature/axon-5-type-alias-serializer branch from 99aff8f to c7b3750 Compare May 21, 2026 19:58
@JohT JohT requested a review from Copilot May 21, 2026 20:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Axon Framework 5 adapter module that enables resolving MessageType names via type-alias ResourceBundle entries, plus a minimal integration-test module demonstrating end-to-end alias usage within Axon.

Changes:

  • Introduce type-alias-axon-5-serializer with AliasableMessageTypeResolver and unit tests.
  • Add type-alias-axon-5-serializer-integration-test with a small Axon fixture-based integration test and example messages.
  • Update root build/docs to reference the new module and improve Markdown formatting.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
type-alias-axon-5-serializer/src/main/java/org/alias/axon/serializer/AliasableMessageTypeResolver.java Implements an Axon 5 MessageTypeResolver wrapper that aliases names via ResourceBundle.
type-alias-axon-5-serializer/src/main/java/org/alias/axon/serializer/package-info.java Package-level docs pointing users to the aliasing resolver API.
type-alias-axon-5-serializer/src/test/java/org/alias/axon/serializer/AliasableMessageTypeResolverTest.java Unit tests covering aliasing vs delegation behavior.
type-alias-axon-5-serializer/pom.xml New library module POM with optional Axon dependency and test deps.
type-alias-axon-5-serializer-integration-test/src/test/java/org/alias/axon/serializer/TypeAliasMessageTypeResolverIT.java Integration test demonstrating alias resolution and Axon event publication with aliased message type.
type-alias-axon-5-serializer-integration-test/src/main/java/org/alias/axon/serializer/example/messages/SomethingHappenedEvent.java Example @TypeAlias-annotated event for integration tests.
type-alias-axon-5-serializer-integration-test/src/main/java/org/alias/axon/serializer/example/messages/DoSomethingCommand.java Example command used by the integration test.
type-alias-axon-5-serializer-integration-test/src/main/java/org/alias/axon/serializer/example/messages/package-info.java Docs describing the example message package and generated TypeAlias bundle behavior.
type-alias-axon-5-serializer-integration-test/pom.xml Integration-test module build/test configuration and dependencies.
pom.xml Adds the new Axon 5 serializer module to the root reactor.
README.md Markdown formatting adjustments; build instructions text touched.
COMMANDS.md Markdown formatting adjustments; command descriptions text touched.
.github/prompts/plan-typeAliasAxon5Serializer.prompt.md Planning document describing goals/constraints for the new module.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread type-alias-axon-5-serializer-integration-test/pom.xml
Comment thread COMMANDS.md Outdated
Comment thread README.md Outdated
@JohT JohT force-pushed the feature/axon-5-type-alias-serializer branch from c7b3750 to a3beefe Compare May 29, 2026 19:15
@JohT JohT force-pushed the feature/axon-5-type-alias-serializer branch from a3beefe to c00e983 Compare May 30, 2026 11:40
@JohT JohT marked this pull request as ready for review May 30, 2026 11:42
@JohT JohT requested a review from Copilot May 30, 2026 11:42
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 9 comments.

Comment thread COMMANDS.md Outdated
Comment thread type-alias-axon-5-serializer-integration-test/README.md Outdated
Comment thread COMMANDS.md Outdated
Comment thread type-alias-axon-5-serializer-integration-test/README.md Outdated
Comment thread COMMANDS.md Outdated
Comment thread type-alias-axon-5-serializer-integration-test/README.md Outdated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JohT JohT force-pushed the feature/axon-5-type-alias-serializer branch from c00e983 to f37fa77 Compare May 30, 2026 18:29
@JohT JohT merged commit 33d322b into main May 30, 2026
4 checks passed
@JohT JohT deleted the feature/axon-5-type-alias-serializer branch May 30, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants