View Source argo_graphql_directive (argo v1.0.3)

Summary

Types

-type t() :: #argo_graphql_directive{}.

Functions

Link to this function

add_argument(Directives, Argument)

View Source
-spec add_argument(Directives, Argument) -> Directives
                when Directives :: t(), Argument :: argo_graphql_argument: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

from_language(LanguageDirective)

View Source
-spec from_language(LanguageDirective) -> Directive
                 when LanguageDirective :: argo_graphql_language_directive:t(), Directive :: t().
-spec new(Name) -> Directive when Name :: argo_types:name(), Directive :: t().