dvdciri/daggraph

Add constructor injected dependencies to the graph

Open

#53 opened on Aug 19, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (1,147 stars) (61 forks)batch import
featurehelp wanted

Description

Daggraph need to be able to recognise constructor injected dependencies and add them to the graph.

There are some open questions here:

  • Where should we put the class which is constructor injecting some dependencies?
  • Where should we put the injected dependencies?

This is the regex for koltin: /(?:class)\s(\w*).*?(?:@Inject).*?(?:constructor)\((.*?)\)\s?\{/gs This is the regex for java: /(?:@Inject).*?\s(\w*?)\((.*?)\)\s?{/gs

Contributor guide

Add constructor injected dependencies to the graph · dvdciri/daggraph#53 | Good First Issue