Skip to content

Add IReadOnlyEventStore.QueryRawEvents (IQueryable<IEvent>) - #1097

Merged
jeremydmiller merged 1 commit into
mainfrom
stoat/critterwatch-1-2/jasperfx-ievent-queryable
Oct 30, 2026
Merged

jeremydmiller merged 1 commit into
mainfrom
stoat/critterwatch-1-2/jasperfx-ievent-queryable

Conversation

@jeremydmiller

Copy link
Copy Markdown
Member

Fixes #1094

Adds IQueryable<IEvent> QueryRawEvents(string? tenantId = null) to IReadOnlyEventStore as a default interface method, following QueryEventData<T>: it throws NotSupportedException naming the implementing type, so a store built against an older JasperFx still loads. Includes a test of the default.

Not in this PR: the store implementations (Marten, Polecat, Fisher) and the cross-store parity test from the issue's 'Done means'. Those need the stores to override the method first, so the compliance suite can follow once they do. The IEvent<T> body-predicate question is left open.

🤖 Generated with Claude Code

…Event> (#1094)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jeremydmiller
jeremydmiller merged commit 12a235f into main Oct 30, 2026
1 check passed
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.

Store-agnostic IQueryable<IEvent>, so tools can filter events by metadata with LINQ

1 participant