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

Unknown error type when using duplicate reference #1256

Closed
vonkanehoffen opened this issue Mar 7, 2024 · 0 comments · Fixed by #1276
Closed

Unknown error type when using duplicate reference #1256

vonkanehoffen opened this issue Mar 7, 2024 · 0 comments · Fixed by #1276
Labels
bug Something isn't working
Milestone

Comments

@vonkanehoffen
Copy link

What are the steps to reproduce this issue?

  1. Update swagger to use same schema for 200 as another response code or default in the example app like: master...vonkanehoffen:orval:master
  2. Run Orval to regenerate React Query handlers

What happens?

The generated code now types React Query errors as unknown

What were you expecting to happen?

It should type them as Pets right?

Any logs, error output, etc?

No errors. Output committed to forked repo above.
vonkanehoffen@fb4a59f

Any other comments?

I wish I could figure out why this is happening myself 😭

What versions are you using?

Operating System: MacOS 14.2.1
Package Version: 6.25.0
Browser Version: N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants