package
0.1.0
Repository: https://github.com/hgiasac/graphql-utils.git
Documentation: pkg.go.dev

# Functions

EncodeMockGraphQLResponse encodes data inputs to the graphql response payload.
NewMockGraphQLAffectedRowsResponse returns json response of a mutation response with affectedRows.
NewMockGraphQLClient creates a mock graphql client of type HTTPClient where the mock Do() implementation returns the response and status code provided as params to the func.
NewMockGraphQLClientSingle creates a mock graphql client with response map Find responses by query string without validating variables.
NewMockGraphQLClientSingle creates a mock graphql client with static response.
NewMockHTTPClient creates a mock client of type HTTPClient where the mock Do() implementation returns the reponse and status code provided as params to the function.

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author