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

Hey! I have a simple question, could this package work with type-graphql union types? Spent some time trying to make it work, but without any success.

Reporting an example where the usage of `ResolverInterface` on the resolver break the typings on the property decorated with @FieldResolver. ```typescript @Resolver((_of) => Task) class TaskResolver implements ResolverInterface { async...

How do i mention the return of photos function as Promise ? @FieldResolver() @Loader(async (ids, { context }) => { // batchLoadFn const photos = await getRepository(Photo).find({ where: { user:...

Only two ids are given at once in the ids of @Loader and multiple calls are made to the @Loader's callback

Do give this a try and let me know if it works! Basically we just have to change the Apollo plugin's read and write to `contextValue` instead of `context`. @slaypni...

Currently a relation that is fetched with the `@TypeormLoader` decorator won't be returned if the entity that defines the relation is soft deleted. Adding support to fetch these relations even...

`getConnection` is now deprecated in Typeorm So the README getting started instructions should do something like this instead: ``` export const initializeDataSource = async () => { const options =...

I was investigating what dependencies in my project were needed to update to Apollo-server 4, and as of writing this is the only dependency that needs to be updated as...

I have 2 tables with many to many relation and in a @jointable decorator I have a name attribute. The problem is that the query uses the default jointable name(not...