-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
API rescue master-branch PR: Use Generators for ORM #10450
API rescue master-branch PR: Use Generators for ORM #10450
Conversation
7dbe29d
to
3b10a68
Compare
721feda
to
bd817eb
Compare
This will fail on postgres because a separate module needs to be updated for those tests to pass. That will be handled under silverstripe/silverstripe-postgresql#135 |
bd817eb
to
52c68fb
Compare
Use Generators for ORM Query, Map, ArrayList
`getIterator()` now returns a generator by default.
52c68fb
to
4cb36d4
Compare
The prefer lowest job is failing on the |
This PR rescues #6518 from the master branch. See the original PR for discussion about the implementation.
Note that
yield
results in returning aGenerator
which is a subclass ofIterator
- so allgetIterator()
methods affected now explicitly returnIterator
Parent Issue