- Notifications
You must be signed in to change notification settings - Fork11.7k
[12.x] JSON:API Resource#57571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Draft
crynobone wants to merge79 commits into12.xChoose a base branch fromjson-api-resource
base:12.x
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+1,578 −9
Draft
[12.x] JSON:API Resource#57571
Changes from1 commit
Commits
Show all changes
79 commits Select commitHold shift + click to select a range
fce2a2e wip
crynobonea00cd30 wip
crynobone6457e72 Apply fixes from StyleCI
StyleCIBot5d15ab7 wip
crynobone2214970 Merge remote-tracking branch 'origin/json-api-resource' into json-api…
crynobone6116f06 Apply fixes from StyleCI
StyleCIBotc703cf8 wip
crynoboneb219e6d wip
crynobone8d2da32 Apply fixes from StyleCI
StyleCIBote7de423 wip
crynobone882ed31 Apply fixes from StyleCI
StyleCIBot3d75b4c wip
crynobone4aa295d wip
crynoboned945d9f Apply fixes from StyleCI
StyleCIBotc2d7dfc wip
crynobone50c0193 Merge remote-tracking branch 'origin/json-api-resource' into json-api…
crynobone2b69984 wip
crynoboneb006401 Apply fixes from StyleCI
StyleCIBot174b4a8 wip
crynobone13fedeb Apply fixes from StyleCI
StyleCIBot5c15920 wip
crynobone0319cbe wip
crynobonea3ee8f7 wip
crynoboneb610d9c wip
crynoboneb1c0b2a Apply fixes from StyleCI
StyleCIBote7a8d6e wip
crynobonef153b5e Apply fixes from StyleCI
StyleCIBotdab4d40 wip
crynobonec742be0 wip
crynobone1fc4aaa Merge remote-tracking branch 'origin/json-api-resource' into json-api…
crynobonebc8e87a wip
crynobone99bf9a6 wip
crynobonef9bfd62 wip
crynobone62c56c0 Apply fixes from StyleCI
StyleCIBote9c68b0 wip
crynobonef0f58d9 wip
crynobonee1212fb Apply fixes from StyleCI
StyleCIBot1928b74 wip
crynobone4e27c4b wip
crynobone387e2a4 wip
crynobone73c243a wip
crynoboneab05c9f wip
crynoboned8ecdbc wip
crynobone9ce5b07 Apply fixes from StyleCI
StyleCIBote1f0bbd wip
crynobone5b3f81c wip
crynoboneeda7c76 wip
crynobone9b279bb Apply suggestions from code review
crynobone6275377 wip
crynobone280c18c wip
crynoboneac0ec25 wip
crynobonef466566 Apply fixes from StyleCI
StyleCIBotd45e57b wip
crynobonedc0ec65 wip
crynobonef4bf030 wip
crynobonee5c2f88 Apply fixes from StyleCI
StyleCIBot4a8cfc2 wip
crynobone8f9d151 Apply fixes from StyleCI
StyleCIBot76cc84e wip
crynobone86884a9 Apply fixes from StyleCI
StyleCIBotafb51d1 wip
crynobone5f52c26 Apply fixes from StyleCI
StyleCIBot4284619 wip
crynobone504193d Apply fixes from StyleCI
StyleCIBot1a51b54 wip
crynobone0ed469a wip
crynobonea17ac8d remove asJsonApi from base resource
taylorotwell6836018 update exception
taylorotwell5459428 formatting
taylorotwell4a5e360 fix test
taylorotwell215b9ba formatting
taylorotwell573a57a formatting
taylorotwell115ed94 formatting
taylorotwell1da745b rename trait
taylorotwell8e20f20 Merge remote-tracking branch 'origin/12.x' into json-api-resource
crynobone4abf43a [JSON:API] Add `toAttributes()` method (#57603)
crynobone4451594 [JSON:API] Allows `JsonApiResource::$attributes` (#57638)
crynobonebe536df [JSON:API] Supports `JsonApiResource::toRelationships()` (#57646)
crynoboneea1ea07 formatting
taylorotwellFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
wip
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit2b6998478ba2d8786450d840e096df09608869a2
There are no files selected for viewing
90 changes: 53 additions & 37 deletionssrc/Illuminate/Http/Resources/Json/Concerns/ResolvesJsonApiSpecifications.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionsrc/Illuminate/Http/Resources/Json/JsonApiResource.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletionssrc/Illuminate/Http/Resources/Json/JsonApiResourceCollection.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.