Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Make NamedRoute a Writeable #858

Open
DarshitChanpura opened this issue Jul 5, 2023 · 0 comments
Open

[FEATURE] Make NamedRoute a Writeable #858

DarshitChanpura opened this issue Jul 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@DarshitChanpura
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants