ValueMismatch

data class ValueMismatch(val field: QueryField) : QueryViolation

A filter value falls outside the field's declared domain; field is the name as the request wrote it.

Constructors

Link copied to clipboard
constructor(field: QueryField)

Properties

Link copied to clipboard
open override val code: String

A stable, machine-readable code; a contract: codes are added, never renamed.

Link copied to clipboard
open override val field: QueryField

The logical field the violation is about, or null for model-level violations.

Link copied to clipboard
open override val message: String