openapi-react-query-codegen icon indicating copy to clipboard operation
openapi-react-query-codegen copied to clipboard

Maximum call stack size exceeded

Open kubeeek opened this issue 8 months ago • 2 comments

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 https://github.com/hey-api/openapi-ts/issues/552 and fixed in https://github.com/hey-api/openapi-ts/pull/1113. This does not happen on the v2 branch but having downstream fix with upgraded hey-api/openapi-ts would be nice.

kubeeek avatar Apr 22 '25 14:04 kubeeek

Bump

SirReaDy avatar May 16 '25 07:05 SirReaDy

we have this error as well

Mahdi-Farahani avatar Jul 16 '25 19:07 Mahdi-Farahani