ValidationResult

sealed interface ValidationResult

Result of a value validation check via the ValueCoercer.validate method.

Inheritors

Types

Link copied to clipboard
data class ShouldNullify(val reason: AirbyteRecordMessageMetaChange.Reason) : ValidationResult

Value should be nullified with the given reason

Link copied to clipboard
data class ShouldTruncate(val truncatedValue: AirbyteValue, val reason: AirbyteRecordMessageMetaChange.Reason) : ValidationResult

Value should be replaced with the new, truncated value and reason

Link copied to clipboard
data object Valid : ValidationResult

Value is valid, no action needed