Skip to content

Cannot import custom enum types #4

@coryfoo

Description

@coryfoo

Given a jschema type defined like so:

{
"typedefs@" : {
"ModuleMode" : { "enum" : [ "foo", "bar" ] }
},

"Modules" : [
{
"mode" : "ModuleMode",
"path" : "string"
}
]
}

I would like to be able to import the Module type, so that I can pass each Module object in the list on to other functions/classes.

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