nullable

Purpose

Ensures that a property is not equal to the specified value

Examples

age(nullable:false)

Description

Set to false if the property value cannot be null. This constraint influences schema generation.

An empty form field will appear in the request parameters as an empty string, not as null. Keep this in mind when setting domain fields directly form request parameters

Error Code: className.propertyName.nullable