coursera / courier

Data interchange for the modern web + mobile stack.
http://coursera.github.io/courier/
Apache License 2.0
98 stars 24 forks source link

Handle enums that are not all-caps better #31

Open yifanmai opened 8 years ago

yifanmai commented 8 years ago

We have a number of persisted models with enum types in which the string representations of the enums are camel-cased. Courier only supports all-caps enums, so these enums cannot be migrated to Courier.

Possible solutions:

kchen-coursera commented 8 years ago

Actually, courier seems to handle non all-caps enums just fine in my experience. It's just a matter of inconsistency with our naming convention