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

[BUG] this context not available in typescript definitions #338

Open
ryanrhee opened this issue Feb 16, 2023 · 0 comments
Open

[BUG] this context not available in typescript definitions #338

ryanrhee opened this issue Feb 16, 2023 · 0 comments
Labels

Comments

@ryanrhee
Copy link

Expected Behavior

inside a batch load function, this should refer to the data loader instance

Current Behavior

this is not typed inside the batch load function

Possible Solution

Steps to Reproduce

attempt to use this in a batch loader function, see that typescript complains

Context

my api call gives me back excess properties, so i want to prime my data loader with the excess data inside my batch function.

@ryanrhee ryanrhee added the bug label Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant