UnknownValueHandling

sealed interface UnknownValueHandling<out B>

Identifies how to handle attributes whose keys aren't in an item schema when converting from an item to an entity type

Type Parameters

B

The type of builder object used to construct instances of the entity type

Inheritors

Types

Link copied to clipboard
fun interface Custom<B> : UnknownValueHandling<B>

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

Link copied to clipboard

Indicates that unknown attributes should be ignored

Link copied to clipboard

Indicates that unknown attributes should cause an exception to be thrown