dvdciri/daggraph

Add constructor injected dependencies to the graph

Offen

#53 geöffnet am 19.08.2018

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (59 Forks)batch import
featurehelp wanted

Repository-Metriken

Stars
 (1.141 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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