Skip to content

Document diagnostics surface for store-agnostic consoles (2.14.0)#469

Merged
jeremydmiller merged 2 commits into
mainfrom
cw-working
Jun 24, 2026
Merged

Document diagnostics surface for store-agnostic consoles (2.14.0)#469
jeremydmiller merged 2 commits into
mainfrom
cw-working

Conversation

@jeremydmiller

Copy link
Copy Markdown
Member

Broadens the document-diagnostics surface so a store-agnostic monitoring console (CritterWatch) can render document hierarchies/partitions and browse stored documents, without referencing Marten/Polecat directly. Companion impl PRs: JasperFx/marten#4775, JasperFx/polecat#209. Consumer: JasperFx/CritterWatch#544 / #545.

Changes

  • DocumentMappingDescriptor: add SubClasses: TypeDescriptor[] (the subclass document types) + structured Partitioning: PartitioningDescriptor { Strategy, PartitionNames[] }, alongside the existing SubClassCount / PartitioningStrategy back-compat fields.
  • New JasperFx.Documents.IDocumentStoreDiagnostics — a store-agnostic, read-only query surface over stored documents (list types / page as JSON / fetch by id), mirroring the role IEventStore plays for event streams. Implemented by Marten + Polecat, registered in DI; consumers use the graceful-no-op pattern.
  • Version → 2.14.0.

🤖 Generated with Claude Code

jeremydmiller and others added 2 commits June 23, 2026 18:33
Enrich DocumentMappingDescriptor with the subclass list (SubClasses) and a
structured PartitioningDescriptor (Strategy + PartitionNames) alongside the
existing SubClassCount / PartitioningStrategy back-compat fields.

Add JasperFx.Documents.IDocumentStoreDiagnostics — a store-agnostic, read-only
query surface over stored documents (list types / page as JSON / fetch by id),
mirroring the role IEventStore plays for event streams. Implemented by Marten
and Polecat, registered in DI; consumers use the graceful-no-op pattern.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant