View Source AshGraphql.Resource (ash_graphql v0.28.0)

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

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, only_auto? \\ false)

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, api, 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, api, schema, relay_ids?)

View Source
Link to this function

union_definitions(resource, schema, env)

View Source