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? |
|
Seems like there are detectors that holds state which leads to errors between calling such as: |
|
I'm receiving the following error as well: Running as a library, I don't expect the file-writing service to do anything, right? |
Call |
|
what about the detectors state? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi 👋
Currently, it seems that the only way to use this tool is by command line.
It seems that the DI registration is using
AsSingletonfor 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
All reactions