Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

lis2
Copy link
Contributor

@lis2 lis2 commented Sep 14, 2019

Zeitwerk is failing when we are searching for Jobs::Onceoff and Jobs::Base without going back to the top-level namespace (this is correlated to the fact that we got Onceoff base class and module with the same name).

I noticed that in plugins we are using sometimes :: and sometimes not and that gives me comfort that this change will not break anything.

Travis error: https://travis-ci.org/discourse/discourse/jobs/585072364

@lis2 lis2 changed the title FIX: Use top-level namespace for base classes [WIP] FIX: Use top-level namespace for base classes Sep 16, 2019
@lis2 lis2 changed the title [WIP] FIX: Use top-level namespace for base classes FIX: Use top-level namespace for base classes Sep 18, 2019
@SamSaffron SamSaffron merged commit 6bb3d18 into discourse:master Oct 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants