Skip to content

Commit ad29456

Browse files
author
James Blair
committed
Remove UserProfileId from event-sourcing base types
1 parent ed77ad2 commit ad29456

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/F23.Kernel/EventSourcing/EventBase.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ public abstract record EventBase : IEvent
1212
/// </summary>
1313
public string EventType => GetType().Name;
1414

15-
/// <summary>
16-
/// Gets or sets the user profile ID associated with the event.
17-
/// </summary>
18-
public string? UserProfileId { get; set; }
19-
2015
/// <summary>
2116
/// Gets or sets the date and time when the event occurred. Defaults to the current UTC date and time.
2217
/// </summary>

src/F23.Kernel/EventSourcing/IEvent.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ public interface IEvent : IDomainEvent, IValidatable
1919
/// </remarks>
2020
string EventType { get; }
2121

22-
/// <summary>
23-
/// Gets or sets the identifier of the user profile associated with the event.
24-
/// </summary>
25-
/// <remarks>
26-
/// This property links an event to a specific user profile, enabling tracking or filtering of events
27-
/// related to a particular user. It is nullable to support scenarios where the event is not
28-
/// raised by a user.
29-
/// </remarks>
30-
string? UserProfileId { get; set; }
31-
3222
/// <summary>
3323
/// Gets or sets the date and time at which the event occurred.
3424
/// </summary>

0 commit comments

Comments
 (0)