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
4 changes: 0 additions & 4 deletions src/GraphQL.Client/GraphQL.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
<TargetFrameworks>netstandard1.1;netstandard1.3;netstandard2.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\GraphQL.Common\GraphQL.Common.csproj" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/GraphQL.Common/GraphQL.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.4.1" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.1" />
</ItemGroup>

</Project>
10 changes: 10 additions & 0 deletions src/GraphQL.Common/Response/GraphQLError.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace GraphQL.Common.Response {

/// <summary>
Expand All @@ -15,6 +19,12 @@ public class GraphQLError {
/// </summary>
public GraphQLLocation[] Locations { get; set; }

/// <summary>
/// Additional error entries
/// </summary>
[JsonExtensionData]
public IDictionary<string, JToken> AdditonalEntries { get; set; }

}

}
6 changes: 5 additions & 1 deletion tests/GraphQL.Client.Tests/GraphQL.Client.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@
<ProjectReference Include="..\GraphQL.Common.Tests\GraphQL.Common.Tests.csproj" />
</ItemGroup>

</Project>
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>

</Project>