Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4831

Circular dependency between services

$
0
0

@ondrejsevcik wrote:

Hi, I’m curious how Ember handles circular dependencies between services.

Simple example:

  • Service A requires service B
  • Service B requires service A

(with “requires”, I mean “is injected”)

When my component uses service A, will it work as expected? When my tests mock some of the services, will it work as well?

Thank you

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4831

Trending Articles