Skip to content

Commit 85388c1

Browse files
committed
Change some classes to data classes to have toString() implementation and thereby improved log messages.
1 parent 3eaa123 commit 85388c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/kotlin/fi/hsl/jore4/hastus/graphql/IJSONB.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ package fi.hsl.jore4.hastus.graphql
22

33
// Container to get around type erasure
44
// Not declared as value class because of support from Jackson
5-
class IJSONB(
5+
data class IJSONB(
66
val content: Map<String, String>
77
)

src/main/kotlin/fi/hsl/jore4/hastus/graphql/UUIDList.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ import java.util.UUID
44

55
// Container to get around type erasure
66
// Not declared as value class because of support from Jackson
7-
class UUIDList(
7+
data class UUIDList(
88
val content: List<UUID>
99
)

0 commit comments

Comments
 (0)