AshDispatch. Extensions. AddUserRelationship. Transformer
(AshDispatch v0.8.5)
View Source
Transformer that conditionally adds a user belongs_to relationship to the resource.
This replaces the :user calculation with a proper relationship so AshTypescript
can load nested fields.
The transformer only creates the relationship if the configured user_resource module exists at compile time. This avoids warnings when ash_dispatch compiles standalone.
Summary
Functions
Callback implementation for Spark.Dsl.Transformer.after?/1.
Callback implementation for Spark.Dsl.Transformer.after_compile?/0.
Callback implementation for Spark.Dsl.Transformer.before?/1.
Callback implementation for Spark.Dsl.Transformer.transform/1.
Functions
Callback implementation for Spark.Dsl.Transformer.after?/1.
Callback implementation for Spark.Dsl.Transformer.after_compile?/0.
Callback implementation for Spark.Dsl.Transformer.before?/1.
Callback implementation for Spark.Dsl.Transformer.transform/1.