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

♻️ Extract Hyrax::GroupBehavior #6427

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Nov 9, 2023

As of 2023-11-09, Hyrax::Group in Hyku's main branch inherits from ApplicationRecord. This means to share logic between the two requires that we extract a module (as we cannot change inheritance).

This commit is that effort.

As of 2023-11-09, [Hyrax::Group in Hyku's main branch][1] inherits
from ApplicationRecord.  This means to share logic between the two
requires that we extract a module (as we cannot change inheritance).

This commit is that effort.

[1]: https://github.com/samvera/hyku/blob/dd0da8061c2ee0233e4f32f8ea7748eda2792ba3/app/models/hyrax/group.rb#L6
@dlpierce dlpierce added the notes-minor Release Notes: Non-breaking features label Nov 10, 2023
@dlpierce dlpierce merged commit 74f1e40 into main Nov 10, 2023
4 checks passed
@dlpierce dlpierce deleted the extract-hyrax-group-behavior branch November 10, 2023 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-minor Release Notes: Non-breaking features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants