composeJsonResponse
fun <D : Operation.Data> Operation<D>.composeJsonResponse( jsonWriter: JsonWriter, data: D, customScalarAdapters: CustomScalarAdapters = CustomScalarAdapters.Empty)
Content copied to clipboard
writes a successful GraphQL Json response containing "data" to the given sink.
Use this for testing/mocking a valid GraphQL response