add new getter named declaration to use same instance on local module and external module avoiding uncohesion #721
pauloantonelli
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
with upgrade to 5.0 the exported instances cant be used on origin module anymore, and to use it we need would replicate the same declaration on getter binds.
I propolse do like angular's module and has an declaration getter for local instances or has a export getter to export instances.
But in any case unless bind isn't an factory the instance need to be the same on module getters because the cohesion it's important for the module, and we can have this cohesion with the same instances to same signatures.
Beta Was this translation helpful? Give feedback.
All reactions