View Source AshGraphql.Resource (ash_graphql v1.3.3)

This Ash resource extension adds configuration for exposing a resource in a graphql.

Summary

Functions

Link to this function

decode_id(resource, id, relay_ids?)

View Source
Link to this function

decode_primary_key(resource, value)

View Source
Link to this function

define_type?(type, constraints)

View Source
@spec define_type?(Ash.Type.t(), Ash.Type.constraints()) :: boolean()
Link to this function

embedded?(resource_or_type)

View Source
Link to this function

encode_id(record, relay_ids?)

View Source
Link to this function

encode_primary_key(record)

View Source
Link to this function

enum_definitions(resource, schema, env)

View Source
Link to this function

generate_object?(resource)

View Source
This function is deprecated. See `AshGraphql.Resource.Info.generate_object?/1`.

See AshGraphql.Resource.Info.generate_object?/1.

Hello!

Link to this function

install(igniter, module, arg, path, argv)

View Source
Link to this function

managed_relationship_definitions(used, schema)

View Source
Link to this function

managed_relationships(resource)

View Source
This function is deprecated. See `AshGraphql.Resource.Info.managed_relationships/1`.

See AshGraphql.Resource.Info.managed_relationships/1.

Link to this function

map_definitions(resource, all_domains, schema, env)

View Source
Link to this function

mutations(resource, domain \\ [])

View Source
This function is deprecated. See `AshGraphql.Resource.Info.mutations/1`.

See AshGraphql.Resource.Info.mutations/2.

Link to this function

no_graphql_types(resource, schema)

View Source
Link to this function

primary_key_delimiter(resource)

View Source
This function is deprecated. See `AshGraphql.Resource.Info.primary_key_delimiter/1`.

See AshGraphql.Resource.Info.primary_key_delimiter/1.

Link to this function

primary_key_get_query(resource, all_domains)

View Source
Link to this function

queries(resource, domain \\ [])

View Source
This function is deprecated. See `AshGraphql.Resource.Info.queries/1`.

See AshGraphql.Resource.Info.queries/2.

Link to this function

query_type_definitions(resource, domain, all_domains, schema, relay_ids?)

View Source
This function is deprecated. See `AshGraphql.Resource.Info.type/1`.

See AshGraphql.Resource.Info.type/1.

Link to this function

type_definition(resource, domain, all_domains, schema, relay_ids?)

View Source