Skip to content

Add Zeitwerk deprecation warning#95

Merged
mergify[bot] merged 1 commit intosolidusio:masterfrom
nebulab:zeitwerk-deprecation-warning
May 22, 2020
Merged

Add Zeitwerk deprecation warning#95
mergify[bot] merged 1 commit intosolidusio:masterfrom
nebulab:zeitwerk-deprecation-warning

Conversation

@AlessioRocco
Copy link
Copy Markdown
Contributor

@AlessioRocco AlessioRocco commented Apr 8, 2020

This PR makes the build fail when extensions are tested against a Rails version that supports Zeitwerk and the autoloader is not able to load module/classes defined in the extension.

This simulates a failure that could happen in staging/production, when Rails eager_load is set to true.

Checklist

  • I have structured the commits for clarity and conciseness.
  • I have added relevant automated tests for this change.
  • I have added an entry to the changelog for this change.

@peterberkenbosch
Copy link
Copy Markdown
Contributor

Hi @AlessioRocco, this seems still very relevant right? Should we make this happen?

@AlessioRocco AlessioRocco force-pushed the zeitwerk-deprecation-warning branch 8 times, most recently from 065576e to 8540b01 Compare May 22, 2020 12:44
This makes the build fail when extensions are tested against a Rails
version that supports Zeitwerk and the autoloader is not able to
load module/classes defined in the extension.
@AlessioRocco AlessioRocco force-pushed the zeitwerk-deprecation-warning branch from 8540b01 to 9d11277 Compare May 22, 2020 12:55
@aldesantis aldesantis marked this pull request as ready for review May 22, 2020 12:57
@mergify mergify Bot merged commit d16605a into solidusio:master May 22, 2020
jarednorman pushed a commit to SuperGoodSoft/solidus_dev_support that referenced this pull request Feb 4, 2026
…x-support

Relax solidus_support dependency
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.

3 participants