Skip to content

Check for circular dependencies #8

Description

@mathieumast

Inverted detects "eventBus" proto as circular dependency with this configuration :

  main : {
    module : "Main",
    scope : "singleton",
    props : {
      eventBus : "*eventBus",
      router : "*router"
    }
  },

  router : {
    module : "Router",
    scope : "singleton",
    args : [ "*routeServer", "*routeLayer" ],
    props : {
      eventBus : "*eventBus",
    }
  },

  ...

It's not a circular dependency, eventBus is not in the same branch on the configuration tree.
I must comment loop in checkForCircular function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions