dvdciri/daggraph

Add constructor injected dependencies to the graph

Aberta

#53 aberto em 19 de ago. de 2018

 (0 comentário) (0 reação) (0 responsável)JavaScript (59 forks)batch import
featurehelp wanted

Métricas do repositório

Stars
 (1.141 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador