View Source argo_typer (argo v1.0.3)

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().
Link to this function

path_to_wire_path(WireType, Path)

View Source
-spec path_to_wire_path(WireType, Path) -> WirePath
                     when
                         WireType :: argo_wire_type:t(),
                         Path :: argo_path_value:segment_list(),
                         WirePath :: argo_wire_path:segment_list().
Link to this function

wire_path_to_path(WireType, WirePath)

View Source
-spec wire_path_to_path(WireType, WirePath) -> Path
                     when
                         WireType :: argo_wire_type:t(),
                         WirePath :: argo_wire_path:segment_list(),
                         Path :: argo_path_value:segment_list().