Skip to content
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

Fix bug with prefetching on different nesting levels #702

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sudevva
Copy link

@sudevva sudevva commented Sep 21, 2024

Fix the bug with prefetching on different nesting levels
As a side effect, it's now allowed a Promise to be returned from prefetchMethod with returnRequested: true, so Overblog Dataloader can be used.
Also, there's no need to map a prefetched result to return a value.

update version of related PR #519
also can potentially help with #187

Allow Promise to be returned from prefetchMethod with returnRequested: true
@oojacoboo
Copy link
Collaborator

Thanks for this @sudevva. I'll review soon. Anyone else that's using prefetch, a review would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants