Skip to content

feat: add typed message tags - #48

Merged
bjarn merged 1 commit into
mainfrom
eng-577-typed-message-tags
Sep 10, 2026
Merged

feat: add typed message tags#48
bjarn merged 1 commit into
mainfrom
eng-577-typed-message-tags

Conversation

@bjarn

@bjarn bjarn commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add the immutable MessageTag model.
  • Add a typed tags(MessageTag...) overload.
  • Keep the existing tags(Map...) overload.
  • Keep tag() for the legacy single tag.

Validation

  • Validate each MessageTag when it is created.
  • Reject reserved names and duplicate case-sensitive names.
  • Allow 20 total tags, including the legacy single tag.

Documentation

  • Replace the outdated tag example with typed structured tags.
  • Document compatibility with the previous map input.

Verification

  • ./gradlew test --no-daemon
  • GitHub test matrix for Java 8, 11, 17, and 21
  • GitHub checkstyle check

@bjarn bjarn changed the title feat: add typed message tags (ENG-577) feat: add typed message tags Sep 10, 2026
@bjarn
bjarn requested a review from Bjornftw September 10, 2026 17:55
@bjarn
bjarn merged commit 2ffdda8 into main Sep 10, 2026
11 checks passed
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