dataverse-gen
dataverse-gen copied to clipboard
Duplicate entries Status reason
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.