dvdciri / dvdciri/daggraph

Add constructor injected dependencies to the graph

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
feature help wanted
Dominant language
JavaScript
Stars
1.1k
Forks
59
PR merge metrics
No merged PRs in 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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.