Skip to content

Commit 1bf61af

Browse files
committed
feat(index): eager load latest verification for consumer and provider
1 parent 5692565 commit 1bf61af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/pact_broker/index/service.rb

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def self.find_index_items options = {}
2828
rows = rows.eager(:consumer_version_tags)
2929
.eager(:provider_version_tags)
3030
.eager(:latest_verification_for_consumer_version_tag)
31+
.eager(:latest_verification_for_consumer_and_provider)
3132
end
3233
rows = rows.all.group_by(&:pact_publication_id).values.collect{ | rows| Matrix::AggregatedRow.new(rows) }
3334

0 commit comments

Comments
 (0)