WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Help with Container instance #73

@fabiocavalcantezup

Description

@fabiocavalcantezup

Hi,

Can someone help me to solve a problem. Im using typescript-ioc in 2 modules and module B dependes on module A. The problem is, somehow the Container instance used in each library seems to be different (which makes sense).

My question is, there anyway to share Container instance between two libraries?

Thanks in advance

Edit: I already solved by exporting the instance of Container from A to B, but it seems that i should have not do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions