1.46.0 - Add `@discardableResult` to QueryBuilder's range and sort methods
What's Changed
Add @discardableResult
to QueryBuilder's range and sort methods by @jiahan-wu in #592
This Pull Request addresses an issue where calling the sort methods in the QueryBuilder class would result in a “Result of call to ‘sort’ is unused” warning. To resolve this, I have added the @discardableResult attribute to these methods, allowing users to call them without triggering the warning when the result is not explicitly used.
This patch was released by @gwynne
Full Changelog: 1.45.1...1.46.0