public GraphQLClient
A lightweight typesafe GraphQL HTTP client.
@Nullable <T> java.lang.Object execute(@NotNull java.lang.String query, @Nullable java.lang.String operationName, @Nullable java.lang.Object variables, @NotNull java.lang.Class<T> resultType, @NotNull kotlin.coroutines.Continuation<? super com.expediagroup.graphql.types.GraphQLResponse<T>> p)
Executes specified GraphQL query or mutation.
NOTE: explicit result type Class parameter is required due to the type erasure at runtime, i.e. since generic type is erased at runtime our default serialization would attempt to serialize results back to Any object. As a workaround we get raw results as String which we then manually deserialize using passed in result type Class information.