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

file_links: prepare for changes in invenio-records-resources [+] #1962

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fenekku
Copy link
Contributor

@fenekku fenekku commented Feb 20, 2025

Invenio-records-resources will not provide default file_links_{item,search}
values anymore, because with the usage of invenio_url_for those default values cannot
be generic. Links need a specific endpoint which the default config
cannot provide (doesn't provide a blueprint for starters). So to prevent
breakage when invenio-records-resources is released and invenio-rdm-records
uses it before its own code has been changed, we need to make the pre-emptive
change in this PR.

Invenio-records-resources will not provide default `file_links_{item,search}`
values, because with the usage of `invenio_url_for` those default values cannot
be generic anymore. Links need a specific endpoint which the default config
cannot provide (doesn't provide a blueprint for starters). So to prevent
breakage when invenio-records-resources is released and invenio-rdm-records
uses it before its own code has been changed, we need to make the pre-emptive
change in this PR.
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