Skip to content

feat: ReactQueryOptions doesnt infer select from data selectors #7183

@alvinlys

Description

@alvinlys

Describe the feature you'd like to request

By using this example in v11.10.0
Image
ReactQueryOptions['post']['byId'] doesnt have select property, whereas options in trpc.post.byId.useQuery(input, options) does have it

Describe the solution you'd like to see

ReactQueryOptions['post']['byId'] include select property

Describe alternate solutions

add a customselect (data) fn type to options in trpc.post.byId.useQuery(input, options)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions