View Source argo_graphql_fragment_spread (argo v1.0.2)

Summary

Types

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

Functions

Link to this function

add_directive(FragmentSpread, Directive)

View Source
-spec add_directive(FragmentSpread, Directive) -> FragmentSpread
                 when FragmentSpread :: t(), Directive :: argo_graphql_directive:t().
Link to this function

find_field(FragmentSpread, FieldAliasOrName, ExecutableDocument)

View Source
-spec find_field(FragmentSpread, FieldAliasOrName, ExecutableDocument) -> {ok, Field} | error
              when
                  FragmentSpread :: t(),
                  FieldAliasOrName :: argo_types:name(),
                  ExecutableDocument :: argo_graphql_executable_document:t(),
                  Field :: argo_graphql_field:t().
Link to this function

fold_fields(FragmentSpread, AccIn, Fun, ExecutableDocument)

View Source
-spec fold_fields(FragmentSpread, AccIn, Fun, ExecutableDocument) -> AccOut
               when
                   FragmentSpread :: t(),
                   AccIn :: dynamic(),
                   Fun :: argo_graphql_selection_set:fold_fields_func(AccIn, AccOut),
                   ExecutableDocument :: argo_graphql_executable_document:t(),
                   AccOut :: dynamic().
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(LanguageFragmentSpread)

View Source
-spec from_language(LanguageFragmentSpread) -> FragmentSpread
                 when
                     LanguageFragmentSpread :: argo_graphql_language_fragment_spread:t(),
                     FragmentSpread :: t().
Link to this function

get_shape(FragmentSpread, ExecutableDocument)

View Source
-spec get_shape(FragmentSpread, ExecutableDocument) -> Shape
             when
                 FragmentSpread :: t(),
                 ExecutableDocument :: argo_graphql_executable_document:t(),
                 Shape :: argo_graphql_selection_set:shape().
-spec new(FragmentName) -> FragmentSpread when FragmentName :: argo_types:name(), FragmentSpread :: t().