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.

IQueryOptions

Defined in: packages/ddd-core/application/query.options.ts:8

Metadata understood by DDD query repositories and read-through cache helpers.

Query implementations normally inherit this through BaseQuery.

optional hydrate?: boolean

Defined in: packages/ddd-core/application/query.options.ts:15

Query metadata for repositories that read it. FromCache does not: it rehydrates every hit whenever a hydrator applies.

false

optional refresh?: boolean

Defined in: packages/ddd-core/application/query.options.ts:23

Bypass read-through cache lookup and fill, forcing an authoritative read directly from underlying persistence.

false