laravel-json-api / eloquent

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

feat: add WhereAll and WhereAny filters #38

Closed haddowg closed 2 weeks ago

haddowg commented 4 months ago

Resolves: https://github.com/laravel-json-api/laravel/issues/289

I took the liberty of adding the Conditionable trait and supporting adding individual columns fluently with withColumn as I could imagine this being useful to allow you to modify the included columns dynamically.