View Source argo_graphql_language_type_extension (argo v1.0.6)

Summary

Types

Functions

Link to this function

enum_type_extension(EnumTypeExtension, Location)

View Source
-spec enum_type_extension(EnumTypeExtension, Location) -> TypeExtension
                       when
                           EnumTypeExtension :: argo_graphql_language_enum_type_extension:t(),
                           Location :: erl_anno:location(),
                           TypeExtension :: 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_extension(InputObjectTypeExtension, Location)

View Source
-spec input_object_type_extension(InputObjectTypeExtension, Location) -> TypeExtension
                               when
                                   InputObjectTypeExtension ::
                                       argo_graphql_language_input_object_type_extension:t(),
                                   Location :: erl_anno:location(),
                                   TypeExtension :: t().
Link to this function

interface_type_extension(InterfaceTypeExtension, Location)

View Source
-spec interface_type_extension(InterfaceTypeExtension, Location) -> TypeExtension
                            when
                                InterfaceTypeExtension ::
                                    argo_graphql_language_interface_type_extension:t(),
                                Location :: erl_anno:location(),
                                TypeExtension :: 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_extension(ObjectTypeExtension, Location)

View Source
-spec object_type_extension(ObjectTypeExtension, Location) -> TypeExtension
                         when
                             ObjectTypeExtension ::
                                 argo_graphql_language_object_type_extension:t(),
                             Location :: erl_anno:location(),
                             TypeExtension :: t().
Link to this function

scalar_type_extension(ScalarTypeExtension, Location)

View Source
-spec scalar_type_extension(ScalarTypeExtension, Location) -> TypeExtension
                         when
                             ScalarTypeExtension ::
                                 argo_graphql_language_scalar_type_extension:t(),
                             Location :: erl_anno:location(),
                             TypeExtension :: t().
Link to this function

union_type_extension(UnionTypeExtension, Location)

View Source
-spec union_type_extension(UnionTypeExtension, Location) -> TypeExtension
                        when
                            UnionTypeExtension :: argo_graphql_language_union_type_extension:t(),
                            Location :: erl_anno:location(),
                            TypeExtension :: t().