Enable pass function `CustomValidation` when init app to custom flow validate and transform dto. ```go app := core.CreateFactory(module, core.AppOptions{ CustomValidation: func(val any) error { // example validate return nil }, }) ```