doug-martin / nestjs-query

Easy CRUD for GraphQL.

Home Page:https://doug-martin.github.io/nestjs-query

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leveraging TypeORM cache

oldwolf opened this issue · comments

Hi, would like to request a new feature, where we can pass an option into the query builder like
cache: {
id: cache:orm:setting:${key},
milliseconds: 600000
}
I found @QueryOptions might be the best place to do so
Or perhaps we can have another option to remove the cache id when creating or updating records?