Open ramiroaisen opened 1 week ago
This isssue assumes first the implementation of #1363
We are using typia.http.assertQuery in an API we are developing.
In a place we need to accept a custom attributes filter in the form of Record<string, string>
So a query like this:
type Query = { attrs: Record<string, string>, }
could be parsed from a string like this ?attrs[foo]=bar&attrs[baz]=das
?attrs[foo]=bar&attrs[baz]=das
And the parsing should correctly resolve to an object like this:
{ attrs: { foo: "bar", baz: "das", } }
That shape correctly match the expected format.
Feature Request
This isssue assumes first the implementation of #1363
We are using typia.http.assertQuery in an API we are developing.
In a place we need to accept a custom attributes filter in the form of Record<string, string>
So a query like this:
could be parsed from a string like this
?attrs[foo]=bar&attrs[baz]=das
And the parsing should correctly resolve to an object like this:
That shape correctly match the expected format.