cloudflow
cloudflow copied to clipboard
Remove default for schemaCodeGenerator
Trevor got into some trouble on a Java project, when he forgot to set the schemaCodeGenerator
schemaCodeGenerator := SchemaCodeGenerator.Java,
He only found out when running his app that the JSON could not be unmarshalled for the generated classes, sicne the Jackson unmarshaller does not work with case classes (it seems).
The default for this setting isSchemaCodeGenerator.Scala, which is probably not a good idea, since it means anyone who starts a Java project will automatically get scala case classes generated, which does not make sense.