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 all coproduct options are tried in order.
fromwill choose the first option able to deserialize the config without errors, whiletowill write the config as is, with no disambiguation information.