View Source Spark.Dsl.Patch.AddEntity (spark v1.1.44)
Supply this when defining an extension to add entity builders to another extension's section.
For example
@entity %Spark.Dsl.Entity{
...
}
@dsl_patch %Spark.Dsl.Patch.AddEntity{section_path: [:foo, :bar], entity: @entity}
use Spark.Dsl.Extension, dsl_patches: [@dsl_patch]
Summary
Types
@type t() :: %Spark.Dsl.Patch.AddEntity{ entity: Spark.Dsl.Entity.t(), section_path: [atom()] }