Skip to content

Persist domain events without a registered translator.#9

Merged
gustavofreze merged 2 commits into
mainfrom
feature/develop
Jul 6, 2026
Merged

Persist domain events without a registered translator.#9
gustavofreze merged 2 commits into
mainfrom
feature/develop

Conversation

@gustavofreze

Copy link
Copy Markdown
Member

Please follow the contributing guidelines.

Summary

What this pull request does.

Related issue

Closes #...

Checklist

  • Tests added or updated.
  • Documentation updated when applicable.
  • composer review passes.
  • composer tests passes.

Untranslated domain events were silently skipped and never reached the
outbox. Every domain fact now produces a row, so the aggregate uniqueness
constraint can detect lost updates on every state transition.

- Persist untranslated domain events by reflecting over their public properties.
- Wrap JSON encoding failures in InvalidPayloadJson so push honors its contract.
- Correct the schema documentation to reflect the UUID v7 default identifier.
- Inline the insert construction into the write method of OutboxWriter.
@gustavofreze gustavofreze merged commit 36386d4 into main Jul 6, 2026
7 checks passed
@gustavofreze gustavofreze deleted the feature/develop branch July 6, 2026 12:46
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.

1 participant