diff --git a/lib/contentful/array.rb b/lib/contentful/array.rb index 1ad7e3d..22a4e98 100644 --- a/lib/contentful/array.rb +++ b/lib/contentful/array.rb @@ -44,7 +44,9 @@ def marshal_load(raw_object) ResourceBuilder.new( item.raw, raw_object[:configuration].merge(includes_for_single: Support.includes_from_response(raw, false)), - item.respond_to?(:localized) ? item.localized : false + item.respond_to?(:localized) ? item.localized : false, + 0, + raw_object[:configuration][:errors] || [] ).run end end