Skip to content

Commit 23a7936

Browse files
authored
Merge pull request #45 from yv989c/bug/rms-fix
Fixes binary compatibility with Microsoft.IO.RecyclableMemoryStream v3.0.0
2 parents 3e2e205 + a29e543 commit 23a7936

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Version.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionEFCore3>3.9.2</VersionEFCore3>
4-
<VersionEFCore5>5.9.2</VersionEFCore5>
5-
<VersionEFCore6>6.9.2</VersionEFCore6>
6-
<VersionEFCore7>7.4.2</VersionEFCore7>
7-
<VersionEFCore8>8.1.0</VersionEFCore8>
3+
<VersionEFCore3>3.9.3</VersionEFCore3>
4+
<VersionEFCore5>5.9.3</VersionEFCore5>
5+
<VersionEFCore6>6.9.3</VersionEFCore6>
6+
<VersionEFCore7>7.4.3</VersionEFCore7>
7+
<VersionEFCore8>8.1.1</VersionEFCore8>
88
</PropertyGroup>
99
</Project>

src/QueryableValues.SqlServer/Serializers/JsonSerializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void writeEntity(Utf8JsonWriter writer, T entity)
3737

3838
static string GetJson(IEnumerable<T> values, Action<Utf8JsonWriter, T> writeValue, Func<T, bool>? mustSkipValue = null)
3939
{
40-
using var stream = (RecyclableMemoryStream)MemoryStreamManager.GetStream();
40+
using var stream = new RecyclableMemoryStream(MemoryStreamManager);
4141

4242
using (var jsonWriter = new Utf8JsonWriter((IBufferWriter<byte>)stream))
4343
{

0 commit comments

Comments
 (0)