File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -116,28 +116,6 @@ public static async Task<GraphQLResponse> GetIntrospectionQueryAsync(this GraphQ
116116 public static async Task < GraphQLResponse > PostIntrospectionQueryAsync ( this GraphQLClient graphQLClient ) =>
117117 await graphQLClient . PostAsync ( IntrospectionQuery ) . ConfigureAwait ( false ) ;
118118
119- #if ! NETSTANDARD1_1
120-
121- /// <summary>
122- /// Send the Query defined in a file via GET
123- /// </summary>
124- /// <param name="graphQLClient">The GraphQLClient</param>
125- /// <param name="filePath">The Path of the File</param>
126- /// <returns>The GraphQLResponse</returns>
127- public static async Task < GraphQLResponse > GetFromFile ( this GraphQLClient graphQLClient , string filePath ) =>
128- await graphQLClient . GetQueryAsync ( File . ReadAllText ( filePath ) ) . ConfigureAwait ( false ) ;
129-
130- /// <summary>
131- /// Send the Query defined in a file via POST
132- /// </summary>
133- /// <param name="graphQLClient">The GraphQLClient</param>
134- /// <param name="filePath">The Path of the File</param>
135- /// <returns>The GraphQLResponse</returns>
136- public static async Task < GraphQLResponse > PostFromFile ( this GraphQLClient graphQLClient , string filePath ) =>
137- await graphQLClient . PostQueryAsync ( File . ReadAllText ( filePath ) ) . ConfigureAwait ( false ) ;
138-
139- #endif
140-
141119 }
142120
143121}
You can’t perform that action at this time.
0 commit comments