adding validations for dynamic param resolution