Skip to content
From 0.5.0 the packages continue as @cqrs-ddd, documented at aristoteliss.github.io/ddd-cqrs; NestJS applications add @cqrs-ddd/nestjs. This site documents the 0.4.x line.

getMutableFields

getMutableFields(instance): ReadonlyMap<string, MutableFieldDefinition>

Defined in: packages/ddd-core/domain/decorators/mutable.decorator.ts:94

Resolves every mutable field visible on an instance, including fields declared by base classes.

object

The aggregate to inspect.

ReadonlyMap<string, MutableFieldDefinition>

Patch key to field definition, nearest declaration winning.