Skip to content

Conversation

hipsterjazzbo
Copy link
Contributor

I wanted to add the ability to search with Laravel Scout, but there's not really a way to add custom transformers at the moment at run time, and custom queries were very very verbose.

This PR adds a transformer to search with Laravel Scout, which is automatically activated when the Eloquent model uses Laravel\Scout\Searchable, similar to SoftDeletes.

@cmizzi
Copy link
Contributor

cmizzi commented Jul 3, 2018

Hi !

I'm currently working to use pipeline in order to write custom arguments and transformers. You'll be able to write custom pipe to append some custom arguments and resolver. Also, a configuration will be set to register custom transformers (I don't really think about that at now...).

I'll implement all of that as soon as possible (it will be more prettier that now) :)

@cmizzi cmizzi mentioned this pull request Jul 3, 2018
@cmizzi
Copy link
Contributor

cmizzi commented Sep 10, 2018

The PR #24 is merged into master. You can now use pipes to modify requests/responses.

@cmizzi cmizzi closed this Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants