Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dk1844 opened this issue Mar 18, 2024 · 0 comments
Open

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

dk1844 opened this issue Mar 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dk1844
Copy link

dk1844 commented Mar 18, 2024

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.

@jakipatryk jakipatryk added the enhancement New feature or request label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants