BoundedContext

constructor(alias: String? = null, description: String = "", scopes: Set<String> = linkedSetOf(), aggregates: Map<String, Aggregate> = emptyMap())

Parameters

alias

Optional alias for the bounded context (must be unique across all contexts).

description

Human-readable description of the bounded context.

scopes

Set of package scopes that belong to this bounded context.

aggregates

Map of aggregate names to their configurations.