Skip to content

Commit 8d51230

Browse files
committed
💡 enhance comment for allowSparseLists in DecodeOptions
1 parent 096eff7 commit 8d51230

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

qs-kotlin/src/main/kotlin/io/github/techouse/qskotlin/models/DecodeOptions.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ data class DecodeOptions(
3434
/** Set to `true` to allow empty List values inside Maps in the encoded input. */
3535
val allowEmptyLists: Boolean = false,
3636

37-
/** Set to `true` to allow sparse Lists in the encoded input. */
37+
/**
38+
* Set to `true` to allow sparse Lists in the encoded input.
39+
*
40+
* Note: If set to `true`, the lists will contain `null` values for missing indices.
41+
*/
3842
val allowSparseLists: Boolean = false,
3943

4044
/**

0 commit comments

Comments
 (0)