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!
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]=appleI should be able to do something like:
So the query can then just be:
properties?filters[fruit][$eq]=appleI think this would simplify things for frontend work. Thoughts?
Thank you!