View Source GraphqlMarkdown.OperationDetailsHelpers (Graphql Markdown v0.4.3)
A set of helpers to generate query and mutation details.
Summary
Functions
Creates a map with the details of a query or mutation. The details created include the operation type, operation name, arguments, and return type.
Types
@type graphql_operation_details() :: %{ operation_type: String.t(), operation_name: String.t(), arguments: [argument()], return_type: return_type() }
Functions
@spec generate_operation_details(String.t(), map(), GraphqlMarkdown.Schema.t()) :: graphql_operation_details()
Creates a map with the details of a query or mutation. The details created include the operation type, operation name, arguments, and return type.