StrawHat.GraphQL v0.1.2 StrawHat.GraphQL.Types View Source

Common Absinthe Types.

Interfaces

straw_hat_node

Just a simple interface that will force you to have an ID

straw_hat_mutation_response

Shape of the mutation response.

Important: read the usage guide because payload field is not included due to limitations and avoiding macros.

straw_hat_pagination

Shape of the pagination.

Important: read the usage guide because entries field is not included due to limitations and avoiding macros.

Objects

  • straw_hat_pagination_page

Errors

  • straw_hat_error_metadata
  • straw_hat_error

These just map StrawHat.Error.t/0 and StrawHat.Error.ErrorMetadata.t/0

Input Objects

  • straw_hat_pagination_page_input