Closed Konopnik closed 2 months ago
Thanks for providing a test. Having a nullable column in the keyset is not supported as mentioned in caveats.md. The same link also includes more info about the reason and potential solutions. This library also ships with an analyzer that would have flagged nullable keysets as warnings, as it's impossible to reliably deal with DB nulls in a keyset.
I'm closing this, please reopen if you still have issues.
When there is desc order by nullable column + asc by id and it is called with reference with null value in nullable column HasNextAsync will return always false.
Here you have test which will fail: