UpperCaseField

class UpperCaseField(val message: String, val sourceLocation: SourceLocation?) : ApolloIssue

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.

Constructors

Link copied to clipboard
constructor(message: String, sourceLocation: SourceLocation?)

Properties

Link copied to clipboard
open override val message: String
Link copied to clipboard
open override val sourceLocation: SourceLocation?