Skip to content

Maximum call stack size exceeded when generating Rust from large FHIR JSON Schema #1376

Description

@ocrickard

Schema is attached, but comes from https://www.hl7.org/fhir/downloads.html. It's a very large healthcare data schema. I'm trying to generate Rust models:

$ quicktype -l rs -s schema --out schema.rs fhir.schema.json
Error: Maximum call stack size exceeded.

I found #855 and #715, but both are closed, and seem to be related to other languages.

Running Node v13.6.0 on macOS Catalina 10.15.2.

fhir.schema.json.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions