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

Input fields lose their jsdoc comments #482

Open
paul-sachs opened this issue Nov 13, 2024 · 0 comments
Open

Input fields lose their jsdoc comments #482

paul-sachs opened this issue Nov 13, 2024 · 0 comments

Comments

@paul-sachs
Copy link
Collaborator

Reproduction steps:

  1. Use any given service method whose input fields contain some jsdoc comments
  2. Write out a query like useQuery(serviceMethod, { someField: "whatever" })

Notice that hovering over someField doesn't show the jsdoc associated with the field.

CleanShot 2024-11-13 at 14 26 03@2x

I believe this may be due to our mapped type MessageInitShape transforming the keys and losing the jsdoc info (see TS issue) but not sure.

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

No branches or pull requests

1 participant