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

add StorageAdapter#id_for #914

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

add StorageAdapter#id_for #914

wants to merge 1 commit into from

Conversation

dunn
Copy link
Collaborator

@dunn dunn commented Oct 20, 2022

Closes GH-887.

@dunn dunn requested a review from tpendragon October 20, 2022 18:12
@dunn
Copy link
Collaborator Author

dunn commented Oct 20, 2022

@tpendragon is https://github.com/samvera/valkyrie/wiki/Storage-&-Files the only place where we specify the methods that adapters are expected to provide?

@tpendragon
Copy link
Collaborator

Yeah I think so. It might be nice to use id_for in #upload too.

@dunn
Copy link
Collaborator Author

dunn commented Oct 28, 2022

Now it's failing for test coverage reasons, but I'm confused and also not sure how to write specs for id_for because there aren't specs for upload.

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.

Storage adapters should have #id_for
2 participants