diff --git a/src/GraphQL.Client/GraphQLClientExtensions.cs b/src/GraphQL.Client/GraphQLClientExtensions.cs index 7bdaeca7..74741a29 100644 --- a/src/GraphQL.Client/GraphQLClientExtensions.cs +++ b/src/GraphQL.Client/GraphQLClientExtensions.cs @@ -116,28 +116,6 @@ public static async Task GetIntrospectionQueryAsync(this GraphQ public static async Task PostIntrospectionQueryAsync(this GraphQLClient graphQLClient) => await graphQLClient.PostAsync(IntrospectionQuery).ConfigureAwait(false); - #if !NETSTANDARD1_1 - - /// - /// Send the Query defined in a file via GET - /// - /// The GraphQLClient - /// The Path of the File - /// The GraphQLResponse - public static async Task GetFromFile(this GraphQLClient graphQLClient, string filePath) => - await graphQLClient.GetQueryAsync(File.ReadAllText(filePath)).ConfigureAwait(false); - - /// - /// Send the Query defined in a file via POST - /// - /// The GraphQLClient - /// The Path of the File - /// The GraphQLResponse - public static async Task PostFromFile(this GraphQLClient graphQLClient, string filePath) => - await graphQLClient.PostQueryAsync(File.ReadAllText(filePath)).ConfigureAwait(false); - - #endif - } }