public static IGraphQLMutationBuilder WithMutation(this IGraphQLBuilder builder, Func <string> mutation) { builder.WithPayload(mutation, PayloadType.Mutation); return((IGraphQLMutationBuilder)builder); }
public static IGraphQLQueryBuilder WithQuery(this IGraphQLBuilder builder, Func <string> query) { builder.WithPayload(query, PayloadType.Query); return((IGraphQLQueryBuilder)builder); }