Adding items to map.csv should not remove const fields. #613
Labels
enhancement
Proposed change to current functionality
generator
Issues binding a Java library (generator, class-parse, etc.)
Generator does not generate const fields for enum items. however if a current existent field gets added to the map.csv, generator will change the type and break api.
We need to add a flag on map.csv indicating whether field should be kept from being changed.
for example:
Original const field:
if this line is added on map.csv
29,Android.OS.VibrationEffectEffectType,EffectClick,android/os/VibrationEffect.EFFECT_CLICK,0
then generator will generate the following field:
The text was updated successfully, but these errors were encountered: