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
73 stars 3 forks source link

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

Closed felanios closed 10 months ago

felanios commented 10 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.