You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/05 06:53:47 UTC

[GitHub] [apisix] nic-chen commented on issue #2924: [Proposal] Support both empty array and field-omitted for fields like remote_addrs

nic-chen commented on issue #2924:
URL: https://github.com/apache/apisix/issues/2924#issuecomment-739136387


   > Then what's your opinion? @nic-chen @gxthrj any suggestion here?
   
   In the past, in order to improve the user experience, the logic of UE did not completely match APISIX itself, so the Manager API stores the data submitted by the user in mysql, and the data submitted to APISIX is formatted, which is reasonable. 
   
   But now Manager API operates ETCD directly, and there is no intermediate storage layer, so it is not suitable for such conversion.
   
   As @membphis  said, input and output should be consistent.
   
   Such hackings may be known to everyone involved in the discussion, but others and newcomers will feel confused.
   
   


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