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

Code-generated enums lack lifted methods #418

Open
pawelprazak opened this issue Mar 24, 2024 · 0 comments
Open

Code-generated enums lack lifted methods #418

pawelprazak opened this issue Mar 24, 2024 · 0 comments
Labels
area/api User visible API area/codegen Schema to code generator impact/usability Something that impacts users' ability to use the product easily and intuitively kind/improvement An improvement with existing workaround size/S Estimated effort to complete (1-2 days).

Comments

@pawelprazak
Copy link
Contributor

The code-generated enums lacks lifted methods, e.g.:

sealed abstract class Region(val name: String, val value: String) extends besom.types.StringEnum
    [error] value value is not a member of besom.internal.Output[besom.api.aws.enums.Region]
    [error]             |    "awslogs-region": "${region.value}",
    [error]                                       ^^^^^^^^^^^^
@pawelprazak pawelprazak added kind/improvement An improvement with existing workaround area/codegen Schema to code generator impact/usability Something that impacts users' ability to use the product easily and intuitively size/S Estimated effort to complete (1-2 days). area/api User visible API labels Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api User visible API area/codegen Schema to code generator impact/usability Something that impacts users' ability to use the product easily and intuitively kind/improvement An improvement with existing workaround size/S Estimated effort to complete (1-2 days).
Projects
None yet
Development

No branches or pull requests

1 participant