Skip to content

extend NormalizedMessageMapper to include ThingDeleted events#2224

Merged
thjaeckle merged 2 commits intoeclipse-ditto:masterfrom
beyonnex-io:update-normalized-mapper-to-include-delete-events
Sep 11, 2025
Merged

extend NormalizedMessageMapper to include ThingDeleted events#2224
thjaeckle merged 2 commits intoeclipse-ditto:masterfrom
beyonnex-io:update-normalized-mapper-to-include-delete-events

Conversation

@hu-ahmed
Copy link
Contributor

This PR extends the NormalizedMessageMapper to also handle ThingDeleted events.

Previously, only ThingCreated, ThingModified, and ThingMerged were normalized.

ThingDeleted events were ignored, resulting in no normalized payloads for deletions.

With this change, ThingDeleted events are mapped to normalized JSON including a _deleted field containing the deletion timestamp.

@thjaeckle thjaeckle added this to the 3.8.0 milestone Sep 10, 2025
@thjaeckle thjaeckle moved this to Waiting for Approval in Ditto Planning Sep 10, 2025
@hu-ahmed hu-ahmed force-pushed the update-normalized-mapper-to-include-delete-events branch from 2fe99bb to d5906b8 Compare September 10, 2025 14:53
Copy link
Member

@thjaeckle thjaeckle left a comment

Choose a reason for hiding this comment

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

Thanks a lot @hu-ahmed

Very useful addition for "normalizing" thing deletions 👍

@thjaeckle thjaeckle merged commit fcb864a into eclipse-ditto:master Sep 11, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from Waiting for Approval to Done in Ditto Planning Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants