type-graphql-dataloader icon indicating copy to clipboard operation
type-graphql-dataloader copied to clipboard

TypeGraphQL + DataLoader + TypeORM made easy

Results 22 type-graphql-dataloader issues
Sort by recently updated
recently updated
newest added

Im trying to load a list of workout-sessions and then load them into the dataloader. The dataloader is being used in a fieldresolver. The goal is to check if any...

When trying to query dataloaded relationships via a GraphQl subscription, you get the following: ` "message": "Cannot read property 'typeormGetConnection' of undefined",` I believe it is because the ApolloServerLoaderPlugin is...

question

Is it possible to make `@TypeormLoader` fetch eager relations automatically? By default it doesn't and I have to write the data loader manually.

Recently typeorm updated their package to 0.3 which changed connection methods. So getConnection doesn't work. https://github.com/typeorm/typeorm/releases/tag/0.3.0

enhancement

I'm implementing jest for testing, and it tells me errors : `TypeError: Cannot read properties of undefined (reading 'typeormGetConnection')` and `TypeError: Cannot read properties of null (reading '_tgdContext')` The error...

I am getting this error `typeormGetConnection is undefined`, and I am unsure why. The docs indicate that Apollo isn't required, but I am unsure if this is the because of...

Hi, I am trying to use this library without the optional TypeORM support, but building the project fails: ``` node_modules/type-graphql-dataloader/dist/plugins/apollo-server/ApolloServerLoaderPlugin.d.ts:1:28 - error TS2307: Cannot find module 'typeorm' or its corresponding...

bug
help wanted

Hi, I've added a new decorator called`FilteredTypeormLoader` which works exactly as `TypeormLoader` but it applies a custom function to the query builder. I've implemented this functionality in order to apply...

I am trying to find a way to get entity relations in other internal functions, no just through a resolver. For example: - Two Entities (users and companies) are joined...