laravel-json-api / eloquent

Serialize Eloquent models to JSON API resources
MIT License
12 stars 15 forks source link

Enable reading of filter configuration publicly #18

Closed bbrala closed 3 years ago

bbrala commented 3 years ago

Refactor filters to some traits enable checking for implemented trait and asking column and operator configuration.

Reason i used traits is so we can check if a trait is implemented with Laravel method class_uses_recursive.

Fixes #17

bbrala commented 3 years ago

I've pushed a commit excluding the changed to WhereIdIn.

lindyhopchris commented 3 years ago

Thanks! I'm going to be working on this package this weekend, so will merge then.