Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Binds NoOpEventStreamQueryBackend to a storage adapter that reports the schema unavailable.

Link copied to clipboard
abstract class NoOpQueryBackend(val namedAggregate: NamedAggregate) : QueryBackend

A test double backend that answers every query with no rows.

Link copied to clipboard

Binds NoOpSnapshotQueryBackend to a storage adapter that reports the schema unavailable.

Link copied to clipboard
class QueryTarget<out B : QueryBackend>(val backend: B, val schemaProvider: QueryModelSchemaProvider)

A backend with the schema the Catalog compiles for it: what a backend spec queries through trusted admission, as a gateway would, but without governance.

Link copied to clipboard
Link copied to clipboard
class UnnecessaryAbstractClassGuardrail(anchor: KClass<*>, packageName: String, allowed: Set<String> = emptySet())

Detekt's UnnecessaryAbstractClass needs type resolution, which the detekt task does not run, so the query modules keep the same rule with this list-style check: an abstract class whose members, declared or inherited, are all concrete should be a concrete class or an object.

Functions

Link copied to clipboard

namedAggregate's event-stream backend, with the schema a Catalog over sources compiles from its storage facts.

namedAggregate's snapshot backend, with the schema a Catalog over sources compiles from its storage facts.