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(types): Pass TOperationType to usePreloadQuery's loadQuery parameter #275

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

Conversation

nf-wbeck
Copy link

@nf-wbeck nf-wbeck commented Jun 3, 2024

When passing a typed LoadQuery, where T has variables, to usePreloadQuery the type of LoadQuery.next will conflict with the default typed LoadQuery in by usePreloadQuery. Not inferring the type of TOperationType from the parameter shape seems like an oversight.

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.

1 participant