From fafb800de5aaa76b70c5f5d3bd44f5bc7fc12351 Mon Sep 17 00:00:00 2001 From: "Jeremy D. Miller" Date: Fri, 31 May 2024 13:41:35 -0500 Subject: [PATCH] SessionFactoryBase.QuerySession() needed to be virtual --- src/Marten/ISessionFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Marten/ISessionFactory.cs b/src/Marten/ISessionFactory.cs index 08763c2356..97c35a89c9 100644 --- a/src/Marten/ISessionFactory.cs +++ b/src/Marten/ISessionFactory.cs @@ -35,7 +35,7 @@ protected SessionFactoryBase(IDocumentStore store) public abstract SessionOptions BuildOptions(); - public IQuerySession QuerySession() => + public virtual IQuerySession QuerySession() => _store.QuerySession(); public IDocumentSession OpenSession() =>