try writemodel

This commit is contained in:
adlerhurst
2020-11-20 17:03:17 +01:00
parent 609c4d4f24
commit 20f4fa56c5
12 changed files with 83 additions and 13 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ type ConfigAggregate struct {
Name string
StylingType StylingType
State ConfigState
OIDCConfig *oidc.ConfigReadModel
// OIDCConfig *oidc.ConfigReadModel
}
type ConfigReadModel struct {
@@ -16,7 +16,7 @@ type ConfigChangedEvent struct {
func NewConfigChangedEvent(
base *eventstore.BaseEvent,
current *ConfigAggregate,
current,
changed *ConfigAggregate,
) (*ConfigChangedEvent, error) {