View Source argo_typer_relay_resolver (argo v1.0.8)

Summary

Functions

Link to this function

builtin_field_definition(FieldName)

View Source
-spec builtin_field_definition(FieldName) -> {ok, FieldDefinition} | error
                            when
                                FieldName :: argo_types:name(),
                                FieldDefinition :: argo_graphql_field_definition:t().
Link to this function

find_field_definition(TypeDefinition, FieldName, ServiceDocument)

View Source
-spec find_field_definition(TypeDefinition, FieldName, ServiceDocument) -> {ok, FieldDefinition} | error
                         when
                             TypeDefinition :: argo_graphql_type_definition:t(),
                             FieldName :: argo_types:name(),
                             ServiceDocument :: argo_graphql_service_document:t(),
                             FieldDefinition :: argo_graphql_field_definition:t().