UpperCaseField
class UpperCaseField(val message: String, val sourceLocation: SourceLocation) : Issue
Content copied to clipboard
When models are nested, upper case fields are not supported as Kotlin doesn't allow a property name with the same name as a nested class. If this happens, the easiest solution is to add an alias with a lower case first letter. If there are a lot of such fields, the Apollo compiler option flattenModels
can also be used to circumvent this error at the price of possible suffixes in model names.
This error is an Apollo Kotlin specific error