Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>7.40.2</Version>
<Version>7.40.3</Version>
<LangVersion>12.0</LangVersion>
<Authors>Jeremy D. Miller;Babu Annamalai;Oskar Dudycz;Joona-Pekka Kokko</Authors>
<PackageIconUrl>https://martendb.io/logo.png</PackageIconUrl>
Expand Down
2 changes: 1 addition & 1 deletion src/Marten/Internal/Sessions/DocumentSessionBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ internal DocumentSessionBase(
_workTracker = workTracker;
}

internal ValueTask<IMessageBatch> CurrentMessageBatch()
internal virtual ValueTask<IMessageBatch> CurrentMessageBatch()
{
if (_workTracker is ProjectionUpdateBatch batch)
{
Expand Down
6 changes: 6 additions & 0 deletions src/Marten/Internal/Sessions/NestedTenantSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System;
using System.Threading.Tasks;
using JasperFx.Core;
using Marten.Events.Aggregation;
using Marten.Internal.Storage;
using Marten.Storage;

Expand All @@ -22,6 +23,11 @@ internal NestedTenantSession(DocumentSessionBase parent, Tenant tenant): base((D

public IDocumentSession Parent => _parent;

internal override ValueTask<IMessageBatch> CurrentMessageBatch()
{
return _parent.CurrentMessageBatch();
}

protected internal override void ejectById<T>(long id)
{
_parent.ejectById<T>(id);
Expand Down