Skip to content

Use flickwerk-style patches#254

Merged
tvdeyen merged 3 commits into
solidusio:mainfrom
mamhoff:flickwerk-patches
May 16, 2025
Merged

Use flickwerk-style patches#254
tvdeyen merged 3 commits into
solidusio:mainfrom
mamhoff:flickwerk-patches

Conversation

@mamhoff

@mamhoff mamhoff commented Dec 17, 2024

Copy link
Copy Markdown
Contributor

This moves the patches in this gem from lib/decorators/ to lib/patches, allowing Flickwerk to take over the patching.

@tvdeyen tvdeyen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I like this

@tvdeyen

tvdeyen commented Dec 17, 2024

Copy link
Copy Markdown
Member

@solidusio/core-team can we get a second review here?

@tvdeyen tvdeyen requested a review from a team December 17, 2024 12:14
@kennyadsl

Copy link
Copy Markdown
Member

Is this on hold now that we reverted the flickwerk PR in solidus_support?

@mamhoff

mamhoff commented Dec 18, 2024

Copy link
Copy Markdown
Contributor Author

Let's keep it open. I'm fixing the issues that led to reverting Flickwerk support in solidus_support, and I'll rebase it when that is released. friendlycart/flickwerk#3

@tvdeyen tvdeyen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the simplicity this provides.

This moves the patches in this gem from `lib/decorators/` to
`lib/patches`, allowing Flickwerk to take over the patching.
This names the patches such that they do not live in the Spree
namespace. It also fixes a Rubocop offense.
This way, we don't need to load ApplicationController in a
config.to_prepare block either.
@mamhoff mamhoff force-pushed the flickwerk-patches branch from 7e2d78b to e6dface Compare May 15, 2025 09:05
@jarednorman

Copy link
Copy Markdown
Member

Is this ready to go?

@tvdeyen

tvdeyen commented May 16, 2025

Copy link
Copy Markdown
Member

Addressing build errors in #258

@tvdeyen tvdeyen merged commit 1a46686 into solidusio:main May 16, 2025
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.

5 participants