-
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
Pro 6416 missing fields #76
Merged
Merged
Changes from 17 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
991a7a0
updates getRelatedDocsFromSchema to fetch relationships with findForE…
ValJed 76522cc
reworks related routes to get related types of related types
ValJed bcbbdf7
if no relatedIds just continue looping
ValJed 850e656
fixes recursion not working properly for relationships
ValJed 0a5b23a
Do not add docIds twice
ValJed b8d9253
extract related field logic in function
ValJed 13c4474
moves route related logic in method to be testable
ValJed 2e79251
test related route logic
ValJed 4fcfd87
uses a cloned req with right apos mode when fetching related docs
ValJed ba7d5a3
fixes tests
ValJed a96724c
if doc has no aposMode use normal req to get related docs
ValJed e8f4891
uses document mode even inside sub fields
ValJed 6ba5f1f
fixes use of getRelatedDocsFromSchema for attachments in overrideDupl…
ValJed b72f77c
fixes tests
ValJed 19bc3ef
removes logs
ValJed f13c0fa
removes old getRelatedDocsFromSchema method
ValJed aa1fd75
removes false comment
ValJed 40a1600
adds changelog
ValJed 0364a39
getRelatedTypes takes a related schema to work in a reduce
ValJed 5f7e41b
related route takes an array of types
ValJed 88a11dc
tests that export contain non projected fields
ValJed e8020a8
fixes changelog wording
ValJed 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
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
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
Oops, something went wrong.
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.
Not sure we need this recursion limit since we parse each type schema only once.