lib/immutabler/template/builder.rb in immutabler-0.1.0 vs lib/immutabler/template/builder.rb in immutabler-0.1.1
- old
+ new
@@ -19,9 +19,10 @@
group_name = defs[:name]
models = defs[:models].map do |model|
{
name: model.name,
base_class: model.base,
+ builder_base_class: model.builder_base,
props: build_props(model.props),
any_mappings: model.mappings.any?,
array_mappings: model.mappings.select(&:array?),
dict_mappings: build_dict_mappings(model.mappings),
custom_mappers: build_custom_mappers(model.mappings),