Skip to content

Conversation

@seriouslag
Copy link
Collaborator

@seriouslag seriouslag commented Apr 16, 2024

This PR allows initialData to be set on the hooks and passed to useQuery.

I am unsure why we initially added it to the omit list.
I believe it was to type it so we could override the types.

It seems the types now propagate the override type to initialData.

I haven't done a lot of testing on this to be specific.

If someone has time to test this build, that would be great.

Fixes #68

@seriouslag seriouslag requested a review from 7nohe April 16, 2024 16:59
@seriouslag seriouslag added the enhancement New feature or request label Apr 17, 2024
@7nohe 7nohe merged commit a5b1dc6 into main Apr 20, 2024
@7nohe 7nohe deleted the fix/allow-initialData branch April 20, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

3 participants