We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's extremely inconvenient to wrap a ConfigValue into a Config just to be able to pass it to the API:
ConfigValue
Config
cv => val dec = derivationDerivedDecoder.value val (wrappedValue, path) = cv match { case configObject: ConfigObject => configObject.toConfig -> None case _ => ConfigValueFactory.fromMap(Map("_root_" -> cv).asJava).toConfig -> Some("_root_") } path.fold(parser.decode[T](wrappedValue)) { parser.decodePath[T](wrappedValue, _) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It's extremely inconvenient to wrap a
ConfigValue
into aConfig
just to be able to pass it to the API:The text was updated successfully, but these errors were encountered: