Replies: 1 comment
-
|
Additionally, if I add an Input widget and create one in the TestModule, when loading it fails because it's missing open class Input(label: String, default: String) : Label(label) {
@JsonProperty
@get:JsonProperty
@set:JsonProperty
var value = default
}
object TestModule : Module() {
@JsonProperty
@get:JsonProperty
@set:JsonProperty
var testInput = Input("Test Input", "Default Input")
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When updating from Jackson 2 to 3 I ran into an issue with the new default enabled singleton support, it causes loading to break for me. I tried using readValue instead of readerForUpdating, but that doesn't update the singleton either way.
This is a simpler version of the layout in my project that's able to reproduce it, both should return 'TestModule', but the with SingleSupport enabled it returns 'Failed to load'.
Beta Was this translation helpful? Give feedback.
All reactions