nullable

Purpose

Ensures the property value cannot be null when set to false

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