Skip to content

Query input mistyped #11

Open
Open
@sunwize

Description

@sunwize

Overview

When I try to call useQuery from the frontend, the input doesn't match the procedure's input.

Explanation

Procedure declaration

Image

Client call

Image

The only way to make it work is by doing:
Image

Dependencies

  • @falcondev-oss/trpc-vue-query: 0.5.0
  • @trpc/client: 11.1.0
  • @trpc/server: 11.0.0

node v22.14.0
npm 10.9.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions