You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/03/09 14:36:11 UTC

[GitHub] [incubator-dolphinscheduler] ruanwenjun opened a new issue #5015: [Improvement][API] Make the return value clearer

ruanwenjun opened a new issue #5015:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5015


   **Describe the question**
   The return value of some interfaces is not clear, such as you see in xxController.
   
   **What are the current deficiencies and the benefits of improvement**
   Clarifying the type of the method's return value can make the code read better.
   
   **Which version of DolphinScheduler:**
    -[1.3.x]
    -[dev]
   


----------------------------------------------------------------
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



[GitHub] [incubator-dolphinscheduler] CalvinKirs commented on issue #5015: [Improvement][API] Make the return value clearer

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on issue #5015:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5015#issuecomment-797599319


   It is usually recommended that the service return a specific object and be packaged by the controller. This is more intuitive, at least through the controller calling service, we can intuitively see what his specific data return object is. The return interface of service Map<String,Object> is difficult to intuitively understand what it returns.


----------------------------------------------------------------
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