-
Notifications
You must be signed in to change notification settings - Fork 14
Labels
kind/usabilityUsability of generated code, ergonomics.Usability of generated code, ergonomics.
Milestone
Description
Since adopters can create a copy of ConfigReader with a different keyDecoder, they can also pass it to another library, which might be expecting the default keyDecoder - so calls to most methods that take a String won't work correctly. This presents a challenge.
What should the story be here? Should we reconsider custom keyDecoders completely, and always use a dot-based decoder? That'd mean adopters with custom conventions who want to pass a multi-component key would need to create AbsoluteConfigKey manually (eg using the array literal of components). That might be okay.
Metadata
Metadata
Assignees
Labels
kind/usabilityUsability of generated code, ergonomics.Usability of generated code, ergonomics.