[REQ] [typescript-angular] support for object query parameters as nested key/json string
Created by: dougal83
Is your feature request related to a problem? Please describe.
Cannot consume . notation
query parameters objects in a current project.
Describe the solution you'd like
Extend support to include option to configure how objects are encoded in query parameters. To include options for nested keys
and JSON string
.
Describe alternatives you've considered
Support . notation
in current project but that would not solve the issue for others.
Additional context
Suggest change (as an option):
key != null ? `${key}[${k}]` : k,
Also, add option to JSON stringify the object.
See: #4407