dvdciri/daggraph

Add constructor injected dependencies to the graph

开放

#53 创建于 2018年8月19日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (59 个派生)batch import
featurehelp wanted

仓库指标

星标
 (1,141 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南