cloudcreativity/laravel-json-api

Sparse fieldsets not working with included relationships

hayespdx opened this issue · 3 comments

Sparse fieldset requests don't seem to be working with included relationships... /api/v1/images?include=places&fields[places]=name,slug returns all attributes for places, instead of just name and slug, as JSON:API specifies here.

@hayespdx can you confirm which package you are using - the legacy cloudcreativity/laravel-json-api package, or the newer laravel-json-api/laravel package?

I'm using the newer one, so this was a mistake! Sorry. I've opened the issue in the right place now, so feel free to close/delete this.

Thanks for opening in the other repo!