-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to extend custom events to redact specific events, in a…
…ddition to the built-in ones. Added analyzer to ensure the extended type is annotated correctly
- Loading branch information
1 parent
eb7c367
commit 52ab322
Showing
16 changed files
with
509 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright (c) Dolittle. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
namespace Dolittle.SDK.Analyzers; | ||
|
||
static class DolittleConstants | ||
{ | ||
public static class Types | ||
{ | ||
public const string AggregateRootBaseClass = "Dolittle.SDK.Aggregates.AggregateRoot"; | ||
public const string EventTypeAttribute = "Dolittle.SDK.Events.EventTypeAttribute"; | ||
public const string AggregateRootAttribute = "Dolittle.SDK.Aggregates.AggregateRootAttribute"; | ||
public const string EventHandlerAttribute = "Dolittle.SDK.Events.Handling.EventHandlerAttribute"; | ||
|
||
public const string CommitEventsInterface = "Dolittle.SDK.Events.Store.ICommitEvents"; | ||
|
||
public const string EventContext = "Dolittle.SDK.Events.EventContext"; | ||
public const string RedactedEvent = "Dolittle.SDK.Events.Redaction.PersonalDataRedacted"; | ||
|
||
public const string ReadModelClass = "Dolittle.SDK.Projections.ReadModel"; | ||
public const string ProjectionAttribute = "Dolittle.SDK.Projections.ProjectionAttribute"; | ||
public const string ProjectionResultType = "Dolittle.SDK.Projections.ProjectionResultType"; | ||
public const string ProjectionContextType = "Dolittle.SDK.Projections.ProjectionContext"; | ||
} | ||
|
||
public static class Identifiers | ||
{ | ||
public const string RedactionIdentityPrefix = "de1e7e17-bad5-da7a"; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.