Skip to content

Commit

Permalink
[Docs] Update as resources now support conditional relationships
Browse files Browse the repository at this point in the history
Closes #6
  • Loading branch information
lindyhopchris committed Feb 6, 2021
1 parent 6c6f877 commit c6beb48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ All notable changes to this project will be documented in this file. This projec
using the `actions()` helper method when registering resources. See the PR for examples.
- The `JsonApiController` now has the Laravel `AuthorizesRequests`, `DispatchesJobs` and `ValidatesRequests` traits
applied.
- [#6](https://github.com/laravel-json-api/laravel/issues/6) Resource class can now use conditional fields in their
relationships. This works in the same way as conditional attributes: the resource's `when()` and `mergeWhen()` method
should be used to add conditional relationships.

### Changed

Expand Down

0 comments on commit c6beb48

Please sign in to comment.