spatie / laravel-query-builder

Easily build Eloquent queries from API requests
https://spatie.be/docs/laravel-query-builder
MIT License
4.02k stars 397 forks source link

allowedAppends not work anymore in V5 ? #736

Closed JeremyPinto closed 2 years ago

JeremyPinto commented 2 years ago

Appending attributes has been removed from V4 to V5 : https://spatie.be/docs/laravel-query-builder/v4/features/appending-attributes.

The following code returns an error ->allowedAppends(['fullname'])

What is the alternative to this in the last version ?

Thanks,

dominikb commented 2 years ago

Duplicate of #725

spatie-bot commented 2 years ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.