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

dataloader not working with latest graphql-compose

Open rojectsky opened this issue 4 years ago • 1 comments

rojectsky avatar Jun 06 '21 10:06 rojectsky

DataLoader cannot be expressed like a simple plugin. Mostly this plugin was used with graphql-compose-mongoose models. From [email protected] (read more) it starts provide new built-in resolvers dataLoader & dataLoaderMany resolvers which implement DataLoader logic in different manner.

For now ttl cache logic does not implemented in graphql-compose-mongoose's dataLoader & dataLoaderMany. If you need it somehow, please open a new issue in https://github.com/graphql-compose/graphql-compose-mongoose with the explanation of your desired use cases. Tnx.

nodkz avatar Jun 06 '21 11:06 nodkz