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

[WIP] FIX: Use top-level namespace for base classes #52

Merged
merged 1 commit into from
Sep 16, 2019

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
@eviltrout eviltrout merged commit d59e7fe into discourse:master Sep 16, 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