dataverse-gen icon indicating copy to clipboard operation
dataverse-gen copied to clipboard

Duplicate entries Status reason

Open BenediktBergmann opened this issue 3 years ago • 0 comments
trafficstars

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.

BenediktBergmann avatar Aug 21 '22 20:08 BenediktBergmann