Skip to content
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

feat: if preprint DOI in collection has since been published, link to published DOI [in-progress] #6114

Closed
wants to merge 2 commits into from

Conversation

nayib-jose-gloria
Copy link
Contributor

Reason for Change

Changes

  • if response from Crossref API contains an 'is-preprint-of' relation for a DOI, fetch the nested published DOI. return the preprint DOI metadata if published DOI fetch fails

Testing steps

  • TODO: add unit tests, test setting a preprint and non-preprint in rdev

Notes for Reviewer

@github-actions
Copy link
Contributor

Deployment Summary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant