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

♻️ DefaultWork coercion leverages valkyrie_class #6710

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Feb 20, 2024

Given that a class might specify that it has a valkyrie_class, we should
trust the class know's what's right.

Otherwise, we may pass an ActiveFedora::Base object into the method and
that will raise an error on the schema method.

Given that a class might specify that it has a valkyrie_class, we should
trust the class know's what's right.

Otherwise, we may pass an ActiveFedora::Base object into the method and
that will raise an error on the `schema` method.
@dlpierce dlpierce merged commit f1484a9 into main Feb 20, 2024
6 checks passed
@dlpierce dlpierce deleted the refactor-model-name-coercion branch February 20, 2024 17:23
@dlpierce dlpierce added the notes-bugfix Release Notes: Fixed a bug label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-bugfix Release Notes: Fixed a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants