cloudflow icon indicating copy to clipboard operation
cloudflow copied to clipboard

Remove default for schemaCodeGenerator

Open michaelpnash opened this issue 4 years ago • 0 comments

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.

michaelpnash avatar Apr 23 '20 18:04 michaelpnash