View Source AshGraphql.Resource (ash_graphql v1.0.0-rc.5)

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.

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, schema, env)

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

See AshGraphql.Resource.Info.mutations/1.

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)

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

See AshGraphql.Resource.Info.queries/1.

Link to this function

query_type_definitions(resource, domain, 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, schema, relay_ids?)

View Source