Previously a user could query for related dois of specific relation types (references/citations/parts...etc). This adds provides an additional avenue to query for all related dois.
closes: datacite/datacite#2176
Approach
Adds an additional GQL endpoint for allRelations.
Use the previously-established Events::events_involving function but with an expanded list of relations.
Notes
NO DB changes
NO search index changes.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Be humble in the language and feedback you give, ask don't tell.
Consider using positive language as opposed to neutral when offering feedback. This is to avoid the negative bias that can occur with neutral language appearing negative.
Offer suggestions on how to improve code e.g. simplification or expanding clarity.
Ensure you give reasons for the changes you are proposing.
This pull request was deployed and Sentry observed the following issues:
‼️ Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Result window is too...GraphqlController#executeView Issue
‼️ Elasticsearch::Transport::Transport::Errors::TooManyRequests: [429] {"error":{"root_cause":[{"type":"circuit_breaking_exception","reason":"[parent] Data too la...GraphqlController#executeView Issue
Purpose
Previously a user could query for related dois of specific relation types (references/citations/parts...etc). This adds provides an additional avenue to query for all related dois.
closes: datacite/datacite#2176
Approach
Adds an additional GQL endpoint for allRelations. Use the previously-established Events::events_involving function but with an expanded list of relations.
Notes
NO DB changes NO search index changes.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Reviewer, please remember our guidelines: