How to get service that not registed with interface

TTotechsStrypper9/28/2022
Help
Image
TTotechsStrypper9/28/2022
Image
DDuke9/28/2022
just.. do it?
DDuke9/28/2022
You can register a concrete type no problem
DDuke9/28/2022
this shouldn't give an error
PPobiega9/28/2022
Yeah that should work just fine. You'll need to describe the problem more closely
TTotechsStrypper9/28/2022
I see
TTotechsStrypper9/28/2022
Didn't really it work now
the problem is that I register the animalservice using Singleton