I use value objects to encapsulate validations like maxLength. This is an extract of a sample class without factory method and validation: public class CallingN
uicomponents
keyboard-avoidance
mathematical-expressions
selenium-edgedriver
page.js
combinators
ant-contrib
first-responder
unqork
android-layout-direction
program-flow
entity-framework-core-6.0
django-multiselectfield
maskedtextbox
palindrome
impala
ng-deep
spring-cloud-vault-config
apple-app-site-association
jtessboxeditor
sequencematcher
mbed
node-forge
nestjs-testing
ambient
equivalence-classes
device-manager
zephyr-rtos
nominatim
libswresample