You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I went ahead and injected a utils service into a DialogComponent. Now the utils service depends upon nothing, but it does import an interface from another service called exchange. I repeated the test and got
My understanding is that importing an interface from a service does not introduce a dependency upon that service. Yes, the DialogCcomponent does depend upon the utils service, but the utils service does not depend upon the DialogComponent or anything else for that matter. The exchange service also does not depend upon any other services but it does import an interface from the aps service. How do I read these results?
Does madge consider the import of an interface a dependency upon the service where that interface is defined?
The text was updated successfully, but these errors were encountered:
I am new to madge but very confused by its results. In my project I did the following:
Then I went ahead and injected a
utils
service into aDialogComponent
. Now theutils
service depends upon nothing, but it does import an interface from another service calledexchange
. I repeated the test and gotMy understanding is that importing an interface from a service does not introduce a dependency upon that service. Yes, the
DialogCcomponent
does depend upon theutils
service, but theutils
service does not depend upon theDialogComponent
or anything else for that matter. Theexchange
service also does not depend upon any other services but it does import an interface from theaps
service. How do I read these results?Does madge consider the import of an interface a dependency upon the service where that interface is defined?
The text was updated successfully, but these errors were encountered: