v1.2.2
Enhancements
common
- refactor(common): change dependencies reflector signature (96d33a2)
BREAKING CHANGES: ThereflectDependencies
method ofDependenciesReflector
now returns a different interface to accommodate the support for both constructor parameters and properties.
adapters.nestjs
- refactor(adapters.nestjs): tuples instead of map when collecting dependencies (8c5c6cbe)
core
- refactor(core): dependencies mocker to return new interface (0881c0e4)
Fixes #67
By using tuples instead of maps, Automock now provides better support for injecting the same class or token multiple times and handles dependencies more accurately.