Skip to content

[FEATURE] Make NamedRoute a Writeable #858

@DarshitChanpura

Description

@DarshitChanpura

Is your feature request related to a problem?

In opensearch-project/OpenSearch#7957, ActionModule modifies a declaration of registerDynamicRoute to support the newly added NamedRoutes. But current implementation in SDK passes these values as String to then be parsed inside registerDynamicRoute. There is a better way to handle this scenario.

What solution would you like?

Per @dbwiddis 's comment, NamedRoute can be turned into a Writeable to allow parsing it to an Object in a much cleaner way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions