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

feat: expose new TypedUseQueryOptions #65

Merged
merged 6 commits into from
Jun 15, 2023

Conversation

lukemorales
Copy link
Owner

@lukemorales lukemorales commented Jun 15, 2023

  • Introduces some refactors to the codebase by decoupling the types of createMutationKeys and createQueryKeys;
  • adds a @deprecated signal to createMutationKeys to indicate that the type inference is broken;
  • exposes a new TypedUseQueryOptions type
  • Allows bigint as a valid value

Fixes #59
Fixes #56

@lukemorales lukemorales self-assigned this Jun 15, 2023
@changeset-bot
Copy link

changeset-bot bot commented Jun 15, 2023

🦋 Changeset detected

Latest commit: 5527dae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@lukemorales/query-key-factory Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lukemorales lukemorales force-pushed the fix-issues-and-reorganize-repo branch from 6ff4538 to 825dc99 Compare June 15, 2023 03:13
@lukemorales lukemorales force-pushed the fix-issues-and-reorganize-repo branch from 6725cf8 to 90de9e2 Compare June 15, 2023 03:16
@lukemorales lukemorales merged commit 1cf53a1 into main Jun 15, 2023
2 checks passed
@lukemorales lukemorales deleted the fix-issues-and-reorganize-repo branch June 15, 2023 03:20
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.

Type inference is not compatible with query Allow to use bigint in queryKey
1 participant