Skip to content

Commit b980b41

Browse files
committed
added remark on PII data in readmodels
1 parent 979d4b9 commit b980b41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_posts/2025-11-29-eventstore-defining-events.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ public record Address (
250250

251251
Generating your obligatory GDPR data register that lists all personal data held, along with the rationale for keeping it, now becomes just a matter of Java reflection on your domain events!
252252

253+
> IMPORTANT: ErasableData can be used to "forget" data in your EventStore, but be aware that PII data will probably still exist in your projections and readmodels.
254+
Make sure to register a domain event that expresses that the right to be forgotten has been used, and remove that data from your readmodels in the projection logic.
255+
{: .prompt-warning }
253256

254257
## Versioning Events
255258

0 commit comments

Comments
 (0)