AshJsonApi.Resource.Transformers.RequirePrimaryKey (ash_json_api v0.28.0) View Source

Ensures that the resource either has a primary key

or includes primary_key section from json_api if it has a composite key

Link to this section Summary

Functions

Callback implementation for Ash.Dsl.Transformer.after?/1.

Callback implementation for Ash.Dsl.Transformer.before?/1.

Link to this section Functions

Callback implementation for Ash.Dsl.Transformer.after?/1.

Callback implementation for Ash.Dsl.Transformer.before?/1.

Link to this function

transform(resource, dsl)

View Source

Callback implementation for Ash.Dsl.Transformer.transform/2.