-
Notifications
You must be signed in to change notification settings - Fork 534
V0.11 refactor resource classes to modules #1406
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
8f3363f
Restore previous include directives behavior
lgebhardt f50a2a2
Default sort use _primary_key
lgebhardt 6ef98cf
Remove support for pluck attributes
lgebhardt 1543cca
Pass relationship instead of relationship name
lgebhardt 2381c81
Update copyright date
lgebhardt c887cc0
Ignore docker-compose override files
lgebhardt 8a6992a
add _relation_name method
lgebhardt 46f5878
Rework resource class to support using modules for retrieving resourc…
lgebhardt 1ffa709
Use `_relationship` helper method
lgebhardt 6cc0942
Add ActiveRelationRetrieval
lgebhardt 35143e6
Skip extra pluck queries when not caching a resource
lgebhardt 5c08e40
Test Cleanup
lgebhardt 82db230
Adjust tested query counts based on default_resource_retrieval_strategy
lgebhardt 2c9c821
create_implicit_polymorphic_type_relationships
lgebhardt 4b210ef
Add ActiveRelationRetrievalV09
lgebhardt 162c731
Move resource down in the load order
lgebhardt 691c9d6
Use underscore instead of downcase
lgebhardt 43cf25a
Refactor Resource to load retrieval strategy as class loads
lgebhardt 3494592
Simplify loading resource retrieval strategy modules
lgebhardt 5906489
Remove no longer need deferred_relationship code
lgebhardt 4ad1025
Add warning about potentially unused `records_for_populate`
lgebhardt 0d720d6
Rework loading the resource_retrieval_strategy to fix issue in real p…
lgebhardt 66b077e
Use SortedSets for resource_identities
lgebhardt 7864f41
Add sorted_set gem
lgebhardt ff78f01
Remove rails 5 support
lgebhardt 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 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ test_db | |
test_db-journal | ||
.idea | ||
*.iml | ||
*.override.yml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2014-2021 Cerebris Corporation | ||
Copyright (c) 2014-2023 Cerebris Corporation | ||
|
||
MIT License | ||
|
||
|
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
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
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
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.
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.
well, at least it's dev only :)