Skip to content

feat: DocumentQueryOptions.TenantId for tenant-scoped document diagnostics (2.17.0)#477

Merged
jeremydmiller merged 2 commits into
mainfrom
feat/475-document-query-tenant
Jun 27, 2026
Merged

feat: DocumentQueryOptions.TenantId for tenant-scoped document diagnostics (2.17.0)#477
jeremydmiller merged 2 commits into
mainfrom
feat/475-document-query-tenant

Conversation

@jeremydmiller

Copy link
Copy Markdown
Member

Part of the CritterWatch Event Store / Document Store Explorer work (EVENT_STORE_EXPLORER_PLAN §3.1).

Changes

  • Add DocumentQueryOptions.TenantId (init-only member, binary-safe) so a monitoring console can scope IDocumentStoreDiagnostics.QueryDocumentsAsync to a tenant — conjoined (filter the tenant column) or database-per-tenant (target the tenant database), resolved by the implementing store.
  • Bump JasperFxVersion2.17.0.

The metadata-capabilities descriptors (EventMetadataCapabilities / DocumentMetadataCapabilities, #475) already merged via #476; 2.17.0 ships both that abstraction and TenantId.

Release order

Publish JasperFx 2.17.0 first — Marten 9.12.0-alpha.1 + Polecat 4.7.0-alpha.1 reference it.

🤖 Generated with Claude Code

jeremydmiller and others added 2 commits June 26, 2026 21:02
…agnostics

Lets a monitoring console (CritterWatch) scope IDocumentStoreDiagnostics
.QueryDocumentsAsync to a tenant — conjoined (filter the tenant column) or
database-per-tenant (target the tenant's database), resolved by the engine.
Added as an init-only member so the record stays binary-compatible.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Carries the #475 metadata-capabilities descriptors (already on main via
#476) plus DocumentQueryOptions.TenantId for tenant-scoped document diagnostics.

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