Skip to content

Commit 11e5664

Browse files
authored
Made the JsonMarshal shim internal (#9035)
1 parent f5550ff commit 11e5664

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/HotChocolate/Utilities/src/Utilities.Buffers/HotChocolate.Utilities.Buffers.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1616
</PropertyGroup>
1717

18+
<ItemGroup>
19+
<InternalsVisibleTo Include="HotChocolate.AspNetCore.Pipeline" />
20+
<InternalsVisibleTo Include="HotChocolate.Fusion.Execution" />
21+
<InternalsVisibleTo Include="HotChocolate.Language.Web" />
22+
<InternalsVisibleTo Include="HotChocolate.Types" />
23+
</ItemGroup>
24+
1825
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
1926
<PackageReference Include="Microsoft.Bcl.HashCode" />
2027
<PackageReference Include="System.Memory" />

src/HotChocolate/Utilities/src/Utilities.Buffers/Polyfills/JsonMarshal.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace System.Runtime.InteropServices;
66

7-
public static class JsonMarshal
7+
internal static class JsonMarshal
88
{
99
public static ReadOnlySpan<byte> GetRawUtf8Value(JsonElement value)
1010
{

0 commit comments

Comments
 (0)