-
Notifications
You must be signed in to change notification settings - Fork 2
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP v2 #5
Open
zackify
wants to merge
28
commits into
master
Choose a base branch
from
feature/v2
base: master
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.
+278
−200
Open
WIP v2 #5
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fcc7f6f
Work in progress on abstracting include logic
zackify 530aa87
Remove resource keys if not paginated, allow non callbacks for items
zackify 4d4d689
use passed model instance for eagerload
zackify dc5d432
Add Resource Template
zackify 9330ac0
Spelling
zackify 13184f1
Add doc block
zackify ab3a3b1
Set transformer and model, add traits
zackify ed7654b
Updated other methods
zackify 20e1617
Remove resource key if no pagination
zackify 5340866
Remove controller base
zackify 0d124e3
v2 readme
3b851f1
respond with item change
842eb06
Add policy support
zackify c9bd96a
Make should authorize a public property
zackify d1bfd85
Specifying return types.
joshforbes b2e7d47
The resource key needs to be null by default so that it falls through…
joshforbes 578318a
Fixing default assignment.
joshforbes 0bf2dd2
Cleaning up formatting.
joshforbes 17e9940
Removing unused methods.
joshforbes 0ae12cc
I think I like the name ‘withIncludes’ better than prepareBuilder.. a…
joshforbes 345825d
Updating test to match new structure.
joshforbes 97ee391
Try no key for now? ;)
zackify ba4c492
If the collection passed in is a builder - then grab the available in…
joshforbes 27c7a74
Rollback the resource key changes for now.
joshforbes a6beb0e
Make sure the setup method takes the proper default argument.
joshforbes ebcd0c9
Cleanup use statements.
joshforbes c5fa0e7
Lets use the default serializer for this test.
joshforbes 00cd4cc
Fixing incorrect namespace.
joshforbes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this change. Few things:
Now that I am thinking about it - I think I will update the arraySerializer class to basically do what you have here. Since even with that serializer the user would need the option to set a resourcekey when they were doing pagination.