You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a project I'm working on I want to use a custom filler. There is a setModelFiller method on the search builder to apply custom fillers, but there is no good way to call it since using the search() method always returns a new instance of the builder. There is also not a config option to set a custom filler.
You can't do this because setModelFiller is not fluent.
Model::search()->setModelFiller(...)->match(...)
You also can't do this because using the search() method always returns a new instance of the builder.
In a project I'm working on I want to use a custom filler. There is a
setModelFiller
method on the search builder to apply custom fillers, but there is no good way to call it since using thesearch()
method always returns a new instance of the builder. There is also not a config option to set a custom filler.You can't do this because
setModelFiller
is not fluent.You also can't do this because using the
search()
method always returns a new instance of the builder.I created pull request #168 to enable the first example.
Current workaround it to store a builder variable:
The text was updated successfully, but these errors were encountered: