laravel
laravel copied to clipboard
JSON:API for Laravel applications
I have relationship defined on WorkoutResults model ``` public function unfinishedExercises() { $exercises = $this->exercises(); $id = $this->id; return $exercises->whereDoesntHave('exercisesResults', function ($query) use ($id) { $query->where('workout_result_id', $id); }); } ```...
In Laravel 11.20.0 I get this error when using a GET request with "sort" and "page" parameters together: `LaravelJsonApi\Eloquent\Pagination\PagePagination::LaravelJsonApi\Eloquent\Pagination\{closure}(): Argument #1 ($order) must be of type array, int given, called...
### Description The current implementation of read-only status for fields in the `LaravelJsonApi\Eloquent\Fields\Concerns\IsReadOnly` trait makes it challenging to determine which specific read-only method (`readOnly()`,` readOnlyOnCreate()`, or `readOnlyOnUpdate()`) has been called...