Skip to content

Inability to generate TS from Set[case class] #46

@dk1844

Description

@dk1844

As witnessed in https://github.com/absa-group/AUL/pull/2555#discussion_r1526457584, I was unable to generate TS code from an endpoint-definition featuring a root type of Set[RestrictedUserRepresentation] (RestrictedUserRepresentation is a simple case class).

Having provided a custom case class wrapper, e.g.
case class UsersResponse(users: Set[RestrictedUserRepresentation])
has worked as a workaround.

However, having direct support for a Set[caseclass] type would be welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions