View Source AshJsonApi.Resource (ash_json_api v1.0.0-rc.6)

The entrypoint for adding JSON:API behavior to a resource"

Summary

Functions

This function is deprecated. See AshJsonApi.Resource.Info.base_route/1.

See AshJsonApi.Resource.Info.base_route/1.

Link to this function

encode_primary_key(record)

View Source
This function is deprecated. See AshJsonApi.Resource.Info.includes/1.

See AshJsonApi.Resource.Info.includes/1.

Link to this function

only_primary_key?(resource, field)

View Source
Link to this function

primary_key_delimiter(resource)

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

See AshJsonApi.Resource.Info.primary_key_delimiter/1.

Link to this function

primary_key_fields(resource)

View Source
This function is deprecated. See AshJsonApi.Resource.Info.primary_key_fields/1.

See AshJsonApi.Resource.Info.primary_key_fields/1.

Link to this function

route(resource, criteria \\ %{})

View Source
This function is deprecated. See AshJsonApi.Resource.Info.routes/1.

See AshJsonApi.Resource.Info.routes/1.

This function is deprecated. See AshJsonApi.Resource.Info.type/1.

See AshJsonApi.Resource.Info.type/1.