Add option to get key joiners normalized #2

Open
opened 2024-06-29 12:55:08 +02:00 by DrMaxNix · 0 comments
Owner

Currently, key names are provided with same joiner types used in config file. This means that one_key, one.key and one-key all mean different keys. A software developer using this library would have to deal with all of these cases. Mixed joiners like a.mixed-joiner_key make this even more complicated.

In case a software developer using this library would like to receive all keys in a normalized form, that only uses one joiner type, the library should provide an optional flag, which will normalize joiners.

Currently, key names are provided with same joiner types used in config file. This means that `one_key`, `one.key` and `one-key` all mean different keys. A software developer using this library would have to deal with all of these cases. Mixed joiners like `a.mixed-joiner_key` make this even more complicated. In case a software developer using this library would like to receive all keys in a normalized form, that only uses one joiner type, the library should provide an optional flag, which will normalize joiners.
DrMaxNix added this to the v1.1 milestone 2024-06-29 12:55:08 +02:00
DrMaxNix added the
difficulty
1medium
feature
labels 2024-06-29 12:55:08 +02:00
DrMaxNix self-assigned this 2024-06-29 12:55:08 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: DrMaxNix/bash-ini#2
No description provided.