Add support for using as a library #759
Replies: 6 comments
-
Hi, CD is supported as using a library. You'd have to use DI to resolve a You can use the extension method
Can you share the exact error? |
Beta Was this translation helpful? Give feedback.
-
Seems like there are detectors that holds state which leads to errors between calling such as:
|
Beta Was this translation helpful? Give feedback.
-
I'm receiving the following error as well:
Running as a library, I don't expect the file-writing service to do anything, right? |
Beta Was this translation helpful? Give feedback.
-
@melotic, Anything on that? |
Beta Was this translation helpful? Give feedback.
-
Call |
Beta Was this translation helpful? Give feedback.
-
what about the detectors state? |
Beta Was this translation helpful? Give feedback.
-
Hi 👋
Currently, it seems that the only way to use this tool is by command line.
It seems that the DI registration is using
AsSingleton
for all the components and not a scoped instance, leading to errors between calls because of the states the detectors are using.It will be very appreciated if docs on how to use this tool as a library will be added (as it states in the README.md that it could)
AB#2097602
Beta Was this translation helpful? Give feedback.
All reactions