Yossi Spektor
Yossi Spektor
this is the use case I recently ran into: ``` import { RESTDataSource } from 'apollo-datasource-rest' class MyAPI extends RESTDataSource { constructor() { super() this.baseURL = 'https://myapi.com' this.rootUrl = '/'...
Perhaps, you need to write your custom dataloader in order to batch requests, if so I wrote an example [here](https://www.spektor.dev/use-dataloader-with-graphql-and-mongo/) which uses `graphql-compose-mongoose`
> Hi @yossisp I would like to propose some changes to your PR in light of the recent Gephi upgrades. In this PR, could you enable my contributions please, via...
> Thanks @yossisp! Unfortunately it seems that your branch is a fork from `master-forge` instead of `master`. Normally there should only be your module in there. Therefore I created a...
@mbastian > Ah also, I don't know if you had a chance to look at the alternative implementation on this other PR: #186 > > Your implementation relies on Matrices...
> Thanks @yossisp I merged manually from the `katz-centrality-plugin` branch. Your plugin is now published officially: https://gephi.org/plugins/#/plugin/katz-centrality. > > If you want to make some changes, you can do that...
I also experienced very slow performance with an array of large documents but using graphql server cache solved the issue entirely (I'm using Apollo Server with their [response cache plugin](https://www.npmjs.com/package/apollo-server-plugin-response-cache))....
Because [graphql-compose-mongoose](https://github.com/graphql-compose/graphql-compose-mongoose#dataloaderopts-dataloaderresolveropts) already has a built-in dataloader I don't think it will be useful to provide the same functionality in this package. However, if you think it would be helpful...