View Source Spark.Dsl.Patch.AddEntity (spark v2.2.24)
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()] }