Skip to content

Input fields lose their jsdoc comments #482

Description

@paul-sachs

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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