Closed Phaiax closed 6 years ago
I have a bit different fix in mind which should fix the test failures. Nice find, though! I'm surprised the tests didn't detect this breakage, I'll have to add one.
Changed my mind. There's no good way to fix this without changing DocumentStore's API, so we might as well do this simple fix.
Hey Mattico, I fixed a little bug :)
add_field_length
is called beforeadd_doc
, so the early return was always triggered.The other changes are just my text editor removing trailing whitespace.
:), Phaiax