feat: catalog read cache (api + user apps) and clearer Zarrin accounting errors
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Global, Module } from '@nestjs/common';
|
||||
import { CatalogCacheService } from './catalog-cache.service';
|
||||
|
||||
/**
|
||||
* Global so the accounting module can invalidate the storefront catalogue
|
||||
* without importing CatalogModule (which itself depends on the accounting
|
||||
* module).
|
||||
*/
|
||||
@Global()
|
||||
@Module({
|
||||
providers: [CatalogCacheService],
|
||||
exports: [CatalogCacheService],
|
||||
})
|
||||
export class CatalogCacheModule {}
|
||||
Reference in New Issue
Block a user