The code seems to be working, but should be reviewed before creating an official release.
There is an unfortunate need to use the reflection class to reset a protected property, but otherwise I feel like the code is pretty clean.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3049150-9.patch | 24.64 KB | pwolanin |
| #8 | 3049150-8.patch | 24.64 KB | pwolanin |
| #8 | Screen Shot 2019-04-18 at 17.11.19.jpg | 96.5 KB | pwolanin |
| #6 | 3049150-6.patch | 4.17 KB | pwolanin |
| #5 | 3049150-5.patch | 4.37 KB | pwolanin |
Comments
Comment #2
pwolanin commentedTo prove the tests do something, comment out line 148 in \Drupal\views_streaming_data\StreamingViewExecutable:
// $efr->setValue($obj, NULL);then there is a fail:
Comment #3
pwolanin commentedHere's a patch for initial fixes
Comment #4
pwolanin commentedComment #5
pwolanin commentedPlus a couple more that Erich had mentioned.
Comment #6
pwolanin commentedTurns out we need PHP 7.1 for nullable return typeint, so taking that out.
Comment #7
ebeyrent commentedComment #8
pwolanin commentedThanks @ebeyrent
$this->view->resultafter the foreach loop is entered before the first result is yielded.We also discussed adding a message to the views UI preview, which I did.
Comment #9
pwolanin commentedOops, need php 7.1 for
public const. Changed to just const.Comment #10
ebeyrent commentedI think this looks really good, thanks for the detailed responses to my feedback!
Comment #11
pwolanin commentedThanks, committed and going to make a 1.0