Possible regression with result iterator’s methods

Posted 3 years ago.

As the release candidate process does slowly converge to stable, there is a minor tweak that may introduce regression on existing applications.

Foundation’s issue #60 exposes: empty collections still have their method isLast and isFirst methods to return false. Neither true nor false have sense in this case as there are no records to be returned.

Pomm’s code has been modified to have these methods to return null in this specific case. The change lies in Foundation’s result_iterator branch so you can test your applications using this patch before it is merged.

This branch will be merged into master on the 31st of August 2015.