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

Flickwerk patches #126

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Dec 16, 2024

This moves the patches in this extension to app/patches in line with the recommendations set in the Flickwerk Readme

We don't need to be testing whether the login page works for this gem.
@mamhoff mamhoff marked this pull request as draft December 16, 2024 14:16
This will effectively drop support for Solidus < 4.1, but will enable
flickwerk-style patches.
This follows the Flickwerk conventions and should help host apps with
lazy loading.
We can't just use a class instance variable in a module.
These only need to be loaded if solidus_api and solidus_backend are
present. The gem most likely would not work if that's not the case, but
with the right amount of massaging one could make it work, and in that
case these files should not be autoloaded.
API is not necessarily available, let's protect against
non-availability.
@mamhoff mamhoff marked this pull request as ready for review December 17, 2024 13:17
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.

1 participant