Skip to content

Commit aa41007

Browse files
committed
Format
1 parent 8a21f59 commit aa41007

File tree

5 files changed

+13
-120
lines changed

5 files changed

+13
-120
lines changed

GraphQL.Client.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1717
LICENSE.txt = LICENSE.txt
1818
README.md = README.md
1919
root.props = root.props
20+
dotnet-tools.json = dotnet-tools.json
2021
EndProjectSection
2122
EndProject
2223
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0B0EDB0F-FF67-4B78-A8DB-B5C23E1FEE8C}"

examples/GraphQL.Client.Http.Examples/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Text.Json;
3+
using System.Text.Json.Serialization;
34
using System.Threading.Tasks;
45
using GraphQL.Server.Test.GraphQL.Models;
56
using Microsoft.AspNetCore.TestHost;

src/GraphQL.Client.Http/GraphQLHttpClient.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@ private HttpRequestMessage GenerateHttpRequestMessage<T>(GraphQLRequest<T> reque
9494
};
9595
}
9696

97+
public async Task<GraphQLResponse<R>> SendQueryAsync<R>(GraphQLRequest request, CancellationToken cancellationToken = default) {
98+
await Task.CompletedTask;
99+
throw new NotImplementedException();
100+
}
101+
102+
public async Task<GraphQLResponse<R>> SendMutationAsync<R>(GraphQLRequest request, CancellationToken cancellationToken = default) {
103+
await Task.CompletedTask;
104+
throw new NotImplementedException();
105+
}
97106
}
98107

99108
}

src/GraphQL.Client.Http/Internal/GraphQLHttpHandler.cs

Lines changed: 0 additions & 118 deletions
This file was deleted.

src/GraphQL.Client/IGraphQLClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ namespace GraphQL.Client {
66

77
public interface IGraphQLClient : IDisposable {
88

9-
Task<GraphQLResponse<R>> SendQueryAsync<V, R>(GraphQLRequest<V> request, CancellationToken cancellationToken = default);
9+
Task<GraphQLResponse<R>> SendQueryAsync<R>(GraphQLRequest request, CancellationToken cancellationToken = default);
1010

11-
Task<GraphQLResponse<R>> SendMutationAsync<V, R>(GraphQLRequest<V> request, CancellationToken cancellationToken = default);
11+
Task<GraphQLResponse<R>> SendMutationAsync<R>(GraphQLRequest request, CancellationToken cancellationToken = default);
1212

1313
}
1414

0 commit comments

Comments
 (0)