felanios / murlock

MurLock: A distributed locking solution for NestJS, providing a decorator for critical sections with Redis-based synchronization. Ideal for microservices and scalable applications.
https://www.npmjs.com/package/murlock
MIT License
62 stars 1 forks source link

refactor(module): rename registerSync and registerAsync to forRoot and forRootAsync #25

Closed felanios closed 8 months ago

felanios commented 8 months ago

BREAKING CHANGE: Renamed registerSync to forRoot and registerAsync to forRootAsync. This aligns with standard module configuration terminology in NestJS. Users must update their code where registerSync and registerAsync were used to the new method names. This major change affects all implementations of the MurLockModule.