You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/06/22 06:20:24 UTC

[GitHub] [cloudstack] davidjumani edited a comment on pull request #5135: api: Add validation for empty vm group name

davidjumani edited a comment on pull request #5135:
URL: https://github.com/apache/cloudstack/pull/5135#issuecomment-865629562


   `validations = {ApiArgValidator.NotNullOrEmpty}` could be a generic solution in the `Parameter` annotation @shwstppr 
   `validateNonEmptyString` be called when any parameter is required while processing the request itself rather than an explicit parameter or checks in the service layer


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org