-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Hello, thank you for the great package!
I have a suggest, or a request. In order to simplify the work for the frontend dev, and also in cases where you don't want to share table/column information, there should be a way to predefine the column on the relation that should be used for searching. For example:
properties?filters[fruit][name][$eq]=apple
I should be able to do something like:
protected $renamedFilterFields = [
'fruit.name' => 'fruit',
];
So the query can then just be:
properties?filters[fruit][$eq]=apple
I think this would simplify things for frontend work. Thoughts?
Thank you!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed