View Source argo_graphql_input_type_graph (argo v1.0.6)

Summary

Types

Link to this type

dependency_type_name/0

View Source
-type dependency_type_name() :: argo_types:name().
-type input_type_deps() :: #{dependency_type_name() => []}.
-type input_type_name() :: argo_types:name().
-type inputs() :: #{input_type_name() => input_type_deps()}.
-type t() :: #argo_graphql_input_type_graph{inputs :: argo_graphql_input_type_graph:inputs()}.

Functions

Link to this function

add_dependency(InputTypeGraph, InputTypeName, DependencyTypeName)

View Source
-spec add_dependency(InputTypeGraph, InputTypeName, DependencyTypeName) -> InputTypeGraph
                  when
                      InputTypeGraph :: t(),
                      InputTypeName :: input_type_name(),
                      DependencyTypeName :: dependency_type_name().
Link to this function

add_input(InputTypeGraph, InputTypeName)

View Source
-spec add_input(InputTypeGraph, InputTypeName) -> InputTypeGraph
             when InputTypeGraph :: t(), InputTypeName :: input_type_name().
-spec format_error(dynamic(), dynamic()) -> dynamic().
Link to this function

is_valid_dependency(InputTypeGraph, InputTypeName, DependencyTypeName)

View Source
-spec is_valid_dependency(InputTypeGraph, InputTypeName, DependencyTypeName) -> boolean()
                       when
                           InputTypeGraph :: t(),
                           InputTypeName :: input_type_name(),
                           DependencyTypeName :: dependency_type_name().
Link to this function

merge(InputTypeGraph, InputTypeGraph)

View Source
-spec merge(InputTypeGraph, InputTypeGraph) -> InputTypeGraph when InputTypeGraph :: t().
-spec new() -> InputObjectTypeDefinition when InputObjectTypeDefinition :: t().