do icon indicating copy to clipboard operation
do copied to clipboard

Detect circular dependency and panic

Open samber opened this issue 3 years ago • 3 comments

samber avatar May 18 '22 18:05 samber

Which one do you prefer to be implenmented first: runtime check or static check? If later, I think we may need a extra tool because there is less support for compiling code in Golang.

aseaday avatar Jul 12 '22 07:07 aseaday

I would prioritize a runtime check, since the services can be invoked/replaced in a dynamic way.

And as you said, we won't need an extra tool.

This dependency graph should come with debug functions, in order to understand how the application is booted !

samber avatar Jul 23 '22 23:07 samber

LGTM, I will do a detector in runtime.

aseaday avatar Jul 24 '22 07:07 aseaday

Will be added into v2 -> #45

samber avatar Oct 30 '23 15:10 samber