We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75ffe0 commit bc1310fCopy full SHA for bc1310f
ruby_event_store/lib/ruby_event_store/specification.rb
@@ -188,7 +188,7 @@ def backward
188
def limit(count)
189
raise InvalidPageSize unless count && count > 0
190
191
- Specification.new(reader, result.with(limit: count || Float::INFINITY))
+ Specification.new(reader, result.with(limit: count))
192
end
193
194
# Executes the query based on the specification built up to this point.
0 commit comments