projects/entity/src/concerns/reflection.rb in foobara-0.0.20 vs projects/entity/src/concerns/reflection.rb in foobara-0.0.21
- old
+ new
@@ -15,10 +15,10 @@
end.map(&:last)
types.map(&:target_class).uniq
end
- def foobara_manifest(to_include:)
+ def foobara_manifest(to_include: Set.new)
associations = self.associations.map do |(path, type)|
entity_class = type.target_class
entity_name = entity_class.full_entity_name
[path, entity_name]