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

Duplicate entries Status reason #22

Open
BenediktBergmann opened this issue Aug 21, 2022 · 0 comments
Open

Duplicate entries Status reason #22

BenediktBergmann opened this issue Aug 21, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@BenediktBergmann
Copy link

When the status reason has duplicate entries the transpile will fail since there are duplicate entires with the same name in the generated enum.

An example:
One of our customers has the status reason "Price" and "Quality" both for Active and Inactive status. The generated enums will get "Price" and "quality" twice. This will lead to errors while transpiling the TS to JS. Something like a pre or suffixed "active"/"inactive" might be helpful in that case.

@scottdurow scottdurow added this to the v2 milestone Sep 16, 2022
@scottdurow scottdurow added the bug Something isn't working label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants