Paweł Graczyk

Results 5 comments of Paweł Graczyk

> Due to the nature of Typescript decorators, All of the decorators (...) This is correct, but it will not work in the way you describe (reversed from decoration) with...

https://www.oddbird.net/2014/06/14/sqlalchemy-postgres-autocommit/

> > @DmytroHaponovMD This can currently be achieved using: > > ```js > > import { redisStore } from 'cache-manager-redis-store'; > > import { CacheModule, Module } from '@nestjs/common'; >...

This seems to be working for me: ```ts @Module({ imports: [ ['true', '1', 'yes'].includes(process.env.API_REDIS_STORE_IS_ACTIVE) ? CacheModule.register({ isGlobal: true, // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore store: async () => { return await...