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

Support arbitrary <String, ?> maps. #36

Open
8 tasks
melontini opened this issue Jul 25, 2024 · 0 comments
Open
8 tasks

Support arbitrary <String, ?> maps. #36

melontini opened this issue Jul 25, 2024 · 0 comments

Comments

@melontini
Copy link
Member

Currently, Commander does not allow any arbitrary maps. It's impossible to know what type the map is without holding on to the field/method return type info.

Since, ReflectiveMapStructure already has the type info, it may be possible to figure out the type and supply converters accordingly.

  • Type parsing
    • Fields
    • Methods
  • Map types
    • Base Map interface.
    • Common Map subclasses. Like Immutable and Identity maps.
    • Enum Maps
  • Support multiple string-like key types. Like Identifiers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog 🕑
Development

No branches or pull requests

1 participant