-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to bypass batching/caching ? #75
Comments
It's not really either, the example without EXPECTED_OPTIONS_KEY works because that was how it worked in legacy (without caching). We should be able to remove the legacy code and publish a major to solve this issue though. |
Thanks for your quick response :) Something like this ? https://github.com/mickhansen/dataloader-sequelize/compare/master...fizix-io:remove-global-cache?expand=1 |
Yeah that looks reasonable, if you open a PR i can get that deployed. |
Great. I will update tests before opening a PR. Thanks! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi!
I would like to bypass dataloader-sequelize loaders as a workaround for #39
I tried omitting
{[EXPECTED_OPTIONS_KEY]: context}
option but I found out that requests are batched anyway.Here is the code (https://github.com/ArnaudD/test-dataloader/blob/master/index.js) :
I am expecting to see these requests in the logs :
but instead I got this :
Is it a bug or a feature ?
Thanks for your help !
The text was updated successfully, but these errors were encountered: