Skip to content

Enable useQuery, useInfinite, and then useInvalidate, two invalid functions with the same name appear #2592

@seung-juv

Description

@seung-juv

output override configure in orval.config.js

{
  query: {
    useQuery: true,
    useMutation: true,
    useInfinite: true,
    usePrefetch: true,
    useInvalidate: true,
  }
}
Image Image

As a result, Typescript cannot export multiple functions with the same name, resulting in an error.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtanstack-queryTanStack Query related issue

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions