Hi,
during development I've encountered that overriding singletons is not possible (like shown here )
This came out in unit tests, where different tests needs to have different stubs. It would be nice to have feature either to clear all objects/factories from Injekt before every test, or to override certain singletons.
Hi, during development I've encountered that overriding singletons is not possible (like shown here )
This came out in unit tests, where different tests needs to have different stubs. It would be nice to have feature either to clear all objects/factories from Injekt before every test, or to override certain singletons.
What do you think?