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

scope function (ScopeAware) is not called for RootContext #1554

@MikeMitterer

Description

@MikeMitterer

I'm using RootScope to broadcast/register all kind of messages so this is very important for me.

main() {
    applicationFactory().addModule(new SampleModule()).rootContextType(AppController).run(); 
}

@Injectable()
class AppController implements ScopeAware {
    RootScope _rootscope;

    AppController() {
    }

    // never comes
    void set scope(Scope scope) {
        _rootscope = scope.rootScope;
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions