Aliheym / typeorm-transactional

A Transactional Method Decorator for TypeORM that uses Async Local Storage or cls-hooked to handle and propagate transactions between different repositories and service methods.
MIT License
201 stars 27 forks source link

wrapInTransaction infer to the original function #21

Closed lytc closed 1 year ago

Aliheym commented 1 year ago

Hi, thanks for your PR. Maybe it will be better to add infer for function arguments too?

lytc commented 1 year ago

@Aliheym It already does!

Untitled
Aliheym commented 1 year ago

@Aliheym It already does!

Untitled

Cool, thanks

lytc commented 1 year ago

@Aliheym Thank you so much for approved the PR. Could you also help release this fix as well?

Aliheym commented 1 year ago

@lytc done.