Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add the ability to manually add edges through annotations #3

Open
hundsdor opened this issue Jul 4, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@hundsdor
Copy link
Collaborator

hundsdor commented Jul 4, 2022

Manually adding edges to the DependencyGraph through annotations, could be useful in case a developer would want to increase safety in certain situations (for example DI) manually.
E.g.:

@DependsOn(RandomClass.class, "randomMethod")
@DependsOnFile("/path/to/random.file")

Adding edges to Types/NonTypes in this way should be quite simple.
Edges to files require more adaptations, since changes to arbitrary files are currently not recognized.

@hundsdor hundsdor added the enhancement New feature or request label Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant