Returns optional failures given the provided ConfigObjectCursor
.
Returns optional failures given the provided ConfigObjectCursor
.
a ConfigObjectCursor
at the configuration root from where the product was read
a set of all the used fields when reading the product
an optional non-empty list of failures.
Returns what should be used when attempting to read a case class field with name fieldName
from the provided
ConfigObjectCursor
.
Returns what should be used when attempting to read a case class field with name fieldName
from the provided
ConfigObjectCursor
.
the cursor from which to read a value
the name of the field in T
a ProductHint.Action object that signals which cursor to use in order to read this field, the name of the corresponding field in the config object, whether the field should be removed from the object after read, and whether to use default values for this particular field.
Returns an optional key-value pair that should be used for the field with name fieldName
in the ConfigObject
representation of T
.
Returns an optional key-value pair that should be used for the field with name fieldName
in the ConfigObject
representation of T
.
the optional serialized value of the field
the name of the field in T
an optional key-value pair to be used in the ConfigObject
representation of T
. If None
, the field is
omitted from the ConfigObject
representation.
A trait that can be implemented to customize how case classes are read from and written to a config.
the type of case class for which this hint applies