View Source argo_graphql_language_type_definition (argo v1.0.10)

Summary

Types

Functions

Link to this function

enum_type_definition(EnumTypeDefinition, Location)

View Source
-spec enum_type_definition(EnumTypeDefinition, Location) -> TypeDefinition
                        when
                            EnumTypeDefinition :: argo_graphql_language_enum_type_definition:t(),
                            Location :: erl_anno:location(),
                            TypeDefinition :: t().
Link to this function

format(Formatter1, Type)

View Source
-spec format(Formatter1, Type :: t()) -> Formatter2
          when Formatter1 :: argo_graphql_formatter:t(), Formatter2 :: argo_graphql_formatter:t().
Link to this function

input_object_type_definition(InputObjectTypeDefinition, Location)

View Source
-spec input_object_type_definition(InputObjectTypeDefinition, Location) -> TypeDefinition
                                when
                                    InputObjectTypeDefinition ::
                                        argo_graphql_language_input_object_type_definition:t(),
                                    Location :: erl_anno:location(),
                                    TypeDefinition :: t().
Link to this function

interface_type_definition(InterfaceTypeDefinition, Location)

View Source
-spec interface_type_definition(InterfaceTypeDefinition, Location) -> TypeDefinition
                             when
                                 InterfaceTypeDefinition ::
                                     argo_graphql_language_interface_type_definition:t(),
                                 Location :: erl_anno:location(),
                                 TypeDefinition :: t().
Link to this function

is_ambiguous(Definition)

View Source
-spec is_ambiguous(Definition) -> boolean() when Definition :: t().
Schema extensions without additional operation type definitions must not be followed by a { (such as a query shorthand) to avoid parsing ambiguity. The same limitation applies to the type definitions and extensions below.
Link to this function

object_type_definition(ObjectTypeDefinition, Location)

View Source
-spec object_type_definition(ObjectTypeDefinition, Location) -> TypeDefinition
                          when
                              ObjectTypeDefinition ::
                                  argo_graphql_language_object_type_definition:t(),
                              Location :: erl_anno:location(),
                              TypeDefinition :: t().
Link to this function

scalar_type_definition(ScalarTypeDefinition, Location)

View Source
-spec scalar_type_definition(ScalarTypeDefinition, Location) -> TypeDefinition
                          when
                              ScalarTypeDefinition ::
                                  argo_graphql_language_scalar_type_definition:t(),
                              Location :: erl_anno:location(),
                              TypeDefinition :: t().
Link to this function

union_type_definition(UnionTypeDefinition, Location)

View Source
-spec union_type_definition(UnionTypeDefinition, Location) -> TypeDefinition
                         when
                             UnionTypeDefinition ::
                                 argo_graphql_language_union_type_definition:t(),
                             Location :: erl_anno:location(),
                             TypeDefinition :: t().