Adds support for lenient mode allowing lookups using camelCased identifiers for config entries specified in dashed, underscored, all lower cased or all upper cased format.#8
Conversation
…ifiers for config entries specified in dashed, underscored, all lower cased or all upper cased format.
|
@odd I appreciate the PR, but I'm not so sure I'm in agreement that it's a good idea to to allow for non-precise attribute lookup. What's your argument for having it? Don't like using backticks (e.g. |
|
@metasim Hello and thanks for the feedback. Since the recommended naming policies differ between Scala and HOCON (camel case for the former and dashes for the latter) you unfortunately have to break one of them. By having the library translate between them (or rather translate from camel case to dashes) you can get the best of both worlds (your HOCON looks like HOCON and your Scala looks like Scala). But this is of course just a matter of style and not very important, I fully understand if you don't think it worth the added complexity. The pull request also includes translation of cameCase to underscored, all lower cased and all upper cased formats but this can be removed if you want to minimize it. Greetings |
|
Let me think more on it. Because you can do |
|
Let me just add that one thing that speaks to adding (at least) the On Sat, Nov 5, 2016 at 7:32 PM, Simeon H.K. Fitch notifications@github.com
|
No description provided.