Skip to content

Commit 45d311a

Browse files
committed
Add TODO
1 parent 9533aa4 commit 45d311a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/parse.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ const parseFromParamSchema = (
4242
return parse(key, searchParams.getAll(key), node)
4343
}
4444

45+
// TODO: Ensure that there are no conflicting object keys, e.g.,
46+
// foo.bar= would conflict with foo.bar.a= or foo.bar.b=2
47+
// since this would be a null object containing values (null is still a value).
48+
4549
const entries = Object.entries(node).reduce<
4650
Array<[string, Record<string, unknown> | unknown]>
4751
>((acc, entry) => {

0 commit comments

Comments
 (0)