Papooch / nestjs-cls

A continuation-local storage (async context) module compatible with NestJS's dependency injection.
https://papooch.github.io/nestjs-cls/
MIT License
393 stars 23 forks source link

`has` method for key presence check #41

Closed agmoss closed 1 year ago

agmoss commented 1 year ago

Hi, @Papooch!

Based on your advice from #37, I have created a has method for the ClsService. Let me know what you think.

Papooch commented 1 year ago

Thank you! One minor thing though - could you move the new has method after the get method instead of at the end of the class, and also update the API section in README? Otherwise LGTM!

agmoss commented 1 year ago

Good call, I have attended to those two items.