Skip to content

Typegen fail in batch. #41

Open
Open
@jaynnn

Description

@jaynnn

The exact same code can be run in git bash, but an error will be reported in batch:
json_typegen config/global_config.json -o code_template/rust/global_config.rs -n GlobalConfig --options "{ derives: 'Default, Debug, Clone, PartialEq, Serialize, Deserialize, Resource' }"
error:
The argument to 'derives' has to be a string literal, but remaining input was ''Default, Debug, Clone, PartialEq, Serialize, Deserialize, Resource' }'
That really confuse me.

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