Skip to content

Commit

Permalink
Merge pull request #417 from Netflix/fix-schema-parsing
Browse files Browse the repository at this point in the history
Sort the files before parsing to ensure deterministic results.
  • Loading branch information
srinivasankavitha authored Jul 7, 2022
2 parents 081e11c + 1b16027 commit fea8099
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class CodeGen(private val config: CodeGenConfig) {
val parser = Parser()
val readerBuilder = MultiSourceReader.newMultiSourceReader()

val schemaFiles = config.schemaFiles
val schemaFiles = config.schemaFiles.sorted()
.flatMap { it.walkTopDown() }
.filter { it.isFile }

Expand Down

0 comments on commit fea8099

Please sign in to comment.