Route merge and normalization through core with domain migrations pending

This commit is contained in:
2026-11-25 15:30:04 +00:00
parent ccecf13a4c
commit 8240566281
20 changed files with 173 additions and 177 deletions

View File

@@ -80,7 +80,7 @@ type TypedMergeResult[T any] struct {
type Merger[T any] interface {
Key() string
Merge(context.Context, TypedMergeRequest[T]) (TypedMergeResult[T], error)
PrepareMerge(context.Context, MergeInput[T]) (PreparedOperation[T], error)
}
type TypedNormalizeRequest[T any] struct {
@@ -105,7 +105,7 @@ type TypedNormalizeResult[T any] struct {
type Normalizer[T any] interface {
Key() string
ReferenceSlots() []ReferenceSlot
Normalize(context.Context, TypedNormalizeRequest[T]) (TypedNormalizeResult[T], error)
PrepareNormalize(context.Context, NormalizeInput[T]) (PreparedOperation[T], error)
}
type TypedValidationRequest[T any] struct {