Skip to content

Maximum call stack size exceeded #183

Open
@kubeeek

Description

@kubeeek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions