membphis commented on issue #2924:
URL: https://github.com/apache/apisix/issues/2924#issuecomment-739154250


   @nic-chen Your reason is not good. We should discuss the API design first, 
it has nothing to do with what type of storage is used.
   
   >  The nil and empty array are really different for users? 🤔 
   
   Yes, they are different for users now.
   
   **Here is the todo list(from the discussion)**
   
   * `Admin API`: reject request data if it contains an empty array, eg: 
`"remote_addrs": []`. `Code + Doc`
   * `Manager API`: same as `Admin API`.
   * `Dashbaord`: keep adding hacking codes to the frontend. `Code`
   
   The field `hosts`, `uris` and `methods`, they have the same issue, we should 
fix them in the same way too.


----------------------------------------------------------------
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:
[email protected]


Reply via email to