Skip to content

Commit

Permalink
codegen: ensure schemas are distinct when splitting across ranges (#3957
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hughsimpson authored Jul 26, 2024
1 parent 33dfeba commit 4822f59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ object SchemaGenerator {
// Select next candidate. Order lexicographically for stable output
val next = initialSet.minBy(_._1)
recurse(next)
res += nextRing.sortBy(_._1)
res += nextRing.distinct.sortBy(_._1)
}
res.toSeq
}
Expand Down

0 comments on commit 4822f59

Please sign in to comment.