This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
API: function based initial config on the Helper #5724
Labels
You can continue the conversation there. Go to discussion →
One thing that we've noticed is that modifying a SearchParameter object is much simpler that working with the raw data structure. Also implementations based on the data structure is likely to break at some point if it ever evolves, whereas with the functions of the SearchParameters we can maintain the same API while modifying the underlying structure.
Proposal
This won't remove the possibility to pass an object, it's just a more friendly alternative to set the configuration and the default parameters.
The text was updated successfully, but these errors were encountered: