View Source AshGraphql.Resource (ash_graphql v0.26.2)

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

Summary

Functions

Link to this function

decode_primary_key(resource, value)

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.

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)

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)

View Source
Link to this function

union_definitions(resource, schema, env)

View Source