Skip to content

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
@nlalonde nlalonde merged commit 1c76fb3 into discourse:master Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants