Returns the field value for a class or coproduct option name.
Returns the field value for a class or coproduct option name.
the name of the class or coproduct option
the field value associated with the given class or coproduct option name.
Given a ConfigCursor for the sealed family, disambiguate and return what should be performed when trying to read
one of the provided coproduct options.
Given a ConfigCursor for the sealed family, disambiguate and return what should be performed when trying to read
one of the provided coproduct options. This method can decide either to:
ConfigCursor with a single option (CoproductHint.Use);This method can return a Left if the hint fails to produce a valid CoproductHint.Action.
a ConfigCursor at the sealed family option
the names of the coproduct options for the given type
a ConfigReader.Result of CoproductHint.Action as defined above.
Given the ConfigValue for a specific class or coproduct option, encode disambiguation information and return a
config for the sealed family or coproduct.
Given the ConfigValue for a specific class or coproduct option, encode disambiguation information and return a
config for the sealed family or coproduct.
the ConfigValue of the class or coproduct option
the name of the class or coproduct option
the config for the sealed family or coproduct wrapped in a Right, or a Left with the failure if some
error occurred.
Hint where the options are disambiguated by a
key = "value"field inside the config.This hint will cause derived
ConfigConvertinstance to fail to convert configs to objects if the object has a field with the same name as the disambiguation key.By default, the field value written is the class or coproduct option name converted to kebab case. This mapping can be changed by overriding the method
fieldValueof this class.