Skip to content

Query.One + Filter fix

Choose a tag to compare

@guregu guregu released this 17 Dec 20:06
· 7 commits to master since this release
ea7f332

This release fixes the behavior of Query.One in conjunction with filters (reported in #248). Previously, it could return ErrNotFound if the first result page was empty; now, it will iterate through pages until it finds a result. The old behavior can be retained by adding a SearchLimit or with RequestLimit(1).

Thank you @dharkness for reporting the issue.

What's Changed

Full Changelog: v2.2.1...v2.3.0