Closed amitsuryavanshi closed 6 years ago
+1
I have had similar problem in the past. Sometimes it is difficult to extend jsonapi_suite. Without such a refactoring you have to duplicate the entire apply_scoping
method and thus become much more fragile and missing future extensions.
What's an example of what you would do with a different filter class?
@richmolj as per our discussion on slack, I have updated the PR. Thanks.
Released in 0.11.18
This change will allow someone to extend filtering classes like
sonapiCompliable::Scoping::DefaultFilter
,JsonapiCompliable::Scoping::Filter
,JsonapiCompliable::Scoping::Sort
, etc. for any additional or modified functionality.