Comments (4)
from nestjs-dataloader.
or you can pass your region as part of the key to the DataLoader and implement a custom cacheKeyFn.
from nestjs-dataloader.
I am also interested in this, my use case is that I'm trying to prevent overfetching fields from my db, and in regular resolvers I can extract the needed fields from the request.
I can achieve this with regular resolvers but since the db call is in the dataloader I need to find a way to pass those required fields.
Any advice? I might just fork if I have no other choice
from nestjs-dataloader.
from nestjs-dataloader.
Related Issues (20)
- Dataloader executing in HttpRequest with empty context in NestJSv7 HOT 2
- Error with Nest v7
- Property 'generateDataLoader' in type ... is not assignable to the same property in base type HOT 4
- Accessing graphql context from loader HOT 6
- Compatibility issue with nest v7.1.2 HOT 1
- ID order in example HOT 1
- Unnecessary function wrap HOT 1
- Problem with @Subscription(): stale data is returned for the lifetime of the subscription HOT 3
- Building my lambda using serverless-webpack throwing error 'Module '"../../../node_modules/nestjs-dataloader/dist"' has no exported member 'NestDataLoader'.'
- Nest could not find TestLoader element (this provider does not exist in the current context) HOT 9
- Problem with GlobalPipes(ValidationPipe)
- Quick Question Job offer HOT 1
- Property 'intercept' in type 'DataLoaderInterceptor' is not assignable to the same property in base type 'NestInterceptor<any, any>'. HOT 3
- Support Nestjs 8
- Help with maintaining
- Remove "graphql" as a peer dependency HOT 1
- ESLint: 'idText' is declared but its value is never read.
- Missing types in 9.0.0 HOT 1
- Usage in @FieldResolver() HOT 1
- Strict type checking + custom cacheKeyFn gives a compile error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestjs-dataloader.