Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Support for enum arrays #16

@yamazed

Description

@yamazed

I have:

enum StudentType { FullTime = 0, PartTime = 1, TeacherAssistant = 2 }

interface User { firstName: string; lastName: string; username: string; emailAddress: string; studentTypes: StudentType[] }

output becomes:
{ "Admin": { "firstName": "Libbie", "lastName": "Kuhic", "username": "Forest_Block", "emailAddress": "Richie.OHara@hotmail.com", "studentTypes": [ {}, {}, {} ], "adminRecord": { "studentsPassedEachYear": [ 64163 ] } }, }

expected:
{ "Admin": { "firstName": "Libbie", "lastName": "Kuhic", "username": "Forest_Block", "emailAddress": "Richie.OHara@hotmail.com", "studentTypes": [ 0,1,2 ], "adminRecord": { "studentsPassedEachYear": [ 64163 ] } }, }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions