Custom

fun interface Custom<B> : UnknownValueHandling<B>

Indicates that unknown attributes should be passed to a user-defined function for custom handling

Functions

Link copied to clipboard
abstract fun handleUnknown(name: String, value: AttributeValue, builder: B)

Handle an attribute whose key isn't present in an item schema. Implementations may throw exceptions (which causes item conversion to fail), take no action, or take action on the builder to read/update entity properties.