diff --git a/lib/restpack_serializer/serializable/side_load_data_builder.rb b/lib/restpack_serializer/serializable/side_load_data_builder.rb index 8900218..fe58fda 100644 --- a/lib/restpack_serializer/serializable/side_load_data_builder.rb +++ b/lib/restpack_serializer/serializable/side_load_data_builder.rb @@ -47,6 +47,7 @@ def has_association_relation return {} if @models.empty? serializer_class = @serializer.class options = RestPack::Serializer::Options.new(serializer_class) + options.page_size=1000 yield options options.include_links = false serializer_class.page_with_options(options)