fix: handle option types and nulls properly

This commit is contained in:
Sculas
2022-09-08 11:29:06 +02:00
parent 1d989abd55
commit aff4968e6f
3 changed files with 24 additions and 2 deletions

View File

@@ -196,5 +196,10 @@ class ExampleBytecodePatch : BytecodePatch(listOf(ExampleFingerprint)) {
"key5", File("test.txt").toPath(), "title", "description"
)
)
private var key6: String by option(
PatchOption.StringOption(
"key6", null, "title", "description", true
)
)
}
}