Replies: 2 comments 1 reply
-
Api Auto Pilot, does not currently support Searching with Scout. This feature will become available in the next major version. To avoid running to this issue you can use the built-in search endpoints. You can find more information in the documentaion website https://apiautopilot.info/guide/endpoints/available-endpoints.html#searching |
Beta Was this translation helpful? Give feedback.
1 reply
-
e.g this will also cause aap to fail
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
AAP throws an error on a model that I have included in Laravel Scout
the error is:
and comes from the method
pushSoftDeleteMetadata()
in the Searchable.php file, line 346I don't think it is a 'bug' in the scout code because as far as I can see, the
pushSoftDeleteMetadata()
is only called when the soft delete is enabled, it's more the way that the AAP package is trying to find the relations on a model.Any hint's on how to prevent this ?
Beta Was this translation helpful? Give feedback.
All reactions