Skip to content

v1.2.2

Compare
Choose a tag to compare
@omermorad omermorad released this 18 Jul 05:01
· 176 commits to master since this release
88cbfab

Enhancements

common

  • refactor(common): change dependencies reflector signature (96d33a2)
    BREAKING CHANGES: The reflectDependencies method of DependenciesReflector 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.