Validate default value on build