Skip to content

Commit

Permalink
fix(model): Serialize project's scope names in alphabetical order
Browse files Browse the repository at this point in the history
Make the serialization more deterministic.

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed May 17, 2024
1 parent 066413b commit e074893
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/src/main/kotlin/Project.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ data class Project(
* graph.
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonSerialize(converter = StringSortedSetConverter::class)
val scopeNames: Set<String>? = null
) {
companion object {
Expand Down

0 comments on commit e074893

Please sign in to comment.