Skip to content

[REQ] [typescript-angular] support for object query parameters as nested key/json string #5781

@dougal83

Description

@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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions