Skip to content

Commit 5d053c9

Browse files
committed
Minor change to test for #56: annotations needed due to FasterXML/jackson-databind#5466
1 parent 207e81a commit 5d053c9

File tree

1 file changed

+2
-1
lines changed
  • src/test/kotlin/tools/jackson/module/kotlin/test/github

1 file changed

+2
-1
lines changed

src/test/kotlin/tools/jackson/module/kotlin/test/github/Github56.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import kotlin.test.assertEquals
1010
class TestGithub56 {
1111
data class TestGalleryWidget_BAD(
1212
val widgetReferenceId: String,
13-
@JsonUnwrapped var gallery: TestGallery
13+
// IMPORTANT! Need _at least_ @get one (@param optional, not sufficient)
14+
@get:JsonUnwrapped var gallery: TestGallery
1415
)
1516

1617
data class TestGalleryWidget_GOOD(val widgetReferenceId: String) {

0 commit comments

Comments
 (0)