-
Notifications
You must be signed in to change notification settings - Fork 86
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
Type instantiation is excessively deep and possibly infinite. #187
Comments
Not sure but this seems more of a typescript / zodios issue rather than openapi-zod-client one ? |
Seems like zodios (and typescript) has a limit for how complex your api can be in a single client: ecyrbe/zodios#256. I don't know how we could solve this besides breaking up the generated client into multiple pieces like that issue suggests, which isn't ideal 🤔 |
Yeah, i was just thinking about it and its probably a Zodios issue, but there is not many endpoints, probably 10-15 with 'flat' apis, no neste content, and absolutley no recursion 😕 |
Closing the issue here and opening it a new one in Zodios instead... |
Do you have any advice on how to deal with this error?
I got the new error after adding a few endpoints to the api:
openapi.yaml.zip
A short discussion about the issue here: microsoft/TypeScript#34933
The text was updated successfully, but these errors were encountered: