Describe the bug
During generating a client with npx --package @7nohe/openapi-react-query-codegen openapi-rq -i spec.json a RangeError: Maximum call stack size exceeded is thrown.
To Reproduce
Generate RQ client for eg. https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/
OpenAPI spec file
If possible, please upload the OpenAPI spec file.
Expected behavior
The generator does not crash due to exceeded call stack.
Additional context
This issue has been reported in hey-api/openapi-ts#552 and fixed in hey-api/openapi-ts#1113. This does not happen on the v2 branch but having downstream fix with upgraded hey-api/openapi-ts would be nice.
Describe the bug
During generating a client with
npx --package @7nohe/openapi-react-query-codegen openapi-rq -i spec.jsonaRangeError: Maximum call stack size exceededis thrown.To Reproduce
Generate RQ client for eg. https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/
OpenAPI spec file
If possible, please upload the OpenAPI spec file.
Expected behavior
The generator does not crash due to exceeded call stack.
Additional context
This issue has been reported in hey-api/openapi-ts#552 and fixed in hey-api/openapi-ts#1113. This does not happen on the v2 branch but having downstream fix with upgraded
hey-api/openapi-tswould be nice.