View Source argo_typer (argo v1.0.0)

Summary

Functions

Link to this function

derive_wire_type(ServiceDocument, ExecutableDocument, OptionOperationName)

View Source
-spec derive_wire_type(ServiceDocument, ExecutableDocument, OptionOperationName) ->
                    {OptionOperationName, WireType}
                    when
                        ServiceDocument :: argo_graphql_service_document:t(),
                        ExecutableDocument :: argo_graphql_executable_document:t(),
                        OptionOperationName :: none | {some, OperationName},
                        OperationName :: argo_types:name(),
                        WireType :: argo_wire_type:t().
-spec format_error(dynamic(), dynamic()) -> dynamic().
Link to this function

graphql_type_to_wire_type(ServiceDocument, Type)

View Source
-spec graphql_type_to_wire_type(ServiceDocument, Type) -> WireType
                             when
                                 ServiceDocument :: argo_graphql_service_document:t(),
                                 Type :: argo_graphql_type:t(),
                                 WireType :: argo_wire_type:t().