Closed mab-on closed 4 years ago
I will add this, thanks for the hint @mab-on
There's a pending pull request to integrate this behaviour. @saimaz if you need something different than I coded, comment my pull request, I'll apply the changes.
It's already merged. Will be released soon ;)
It would be nice if ONGR \ ElasticsearchDSL \ ParametersTrait :: addParameter would return self (same way it is implemented in ParametersTrait :: setParameters () already).