VSChina / magic-modules

Magic Modules: Automagically generate Google Cloud Platform support for OSS
Apache License 2.0
1 stars 4 forks source link

`Enum` property type always corresponds to string type in generated code #78

Open magodo opened 4 years ago

magodo commented 4 years ago

Google's Enum type support both string and int type, however, in azure template implementation, it just assume the enum is always typedefed from string. Maybe some resource has int enum, then magic module will fail to generate correct code.