Is it possible to have some components registered through JSON in the same way one would register a component with .AsImplementedInterfaces()? Or are modules the only way to do this?
Thank you.
Is it possible to have some components registered through JSON in the same way one would register a component with .AsImplementedInterfaces()? Or are modules the only way to do this?
Thank you.
Copyright © 2021 Jogjafile Inc.
Unfortunately, no, there is not a way via configuration to do
AsImplementedInterfacesequivalent. Module is probably the right way to go in this case. Configuration is really more for "I have one or two things I need to swap and it won't be a problem to outline exactly what those things are." It's definitely not intended to replace or be feature-comparable with code-based registration.