Use records for joined resources for 0.10#1381
Merged
lgebhardt merged 7 commits intorelease-0-10from Feb 7, 2022
Merged
Conversation
…cords_for_joins`
dgeb
approved these changes
Feb 7, 2022
JamesGlover
referenced
this pull request
in sanger/traction-service
Apr 28, 2022
The update to jsonapi-resources 0.10.6 broke the loading of tubes for pacbio library and pool resources. This appears to be related to the addition of the configuration option `use_related_resource_records_for_joins` https://github.com/cerebris/jsonapi-resources/pull/1381 This is failing to function correctly in this case. By specifying the relationship explicitly, we disable this behaviour, and everything behaves as expected. I still haven't quite managed to get to the bottom of the problem. It may be we need to disable the behaviour globally.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
See #1307 for more details
All Submissions:
New Feature Submissions:
Bug fixes and Changes to Core Features:
Test Plan:
Reviewer Checklist: