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 conditional to account for when iiif print gem is installed #1886

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

kirkkwang
Copy link
Collaborator

With all the work going in the IIIF Print gem, we need a way to safely override methods. Instead of updating the IiifManifestPresenterDecorator with a injections from a generator, the safer approach is to check super to see if there's another implementation of it, in our case, coming from the IIIF Print gem. If not then carry on as usual.

alishaevn
alishaevn previously approved these changes Jan 10, 2023
@kirkkwang
Copy link
Collaborator Author

@alishaevn i had to pull main to pass CI, can you take a look again please?

@kirkkwang kirkkwang merged commit 27be626 into main Jan 12, 2023
@kirkkwang kirkkwang deleted the update-iiifmanifestpresenterdecorator branch January 12, 2023 01:23
@bkiahstroud bkiahstroud added the patch-ver for release notes label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants