You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "lakewatcher (via GitHub)" <gi...@apache.org> on 2023/02/01 03:21:12 UTC

[GitHub] [apisix] lakewatcher commented on issue #8666: bug: apisix dashbord and admin api 数组结构可变,导致PATCH接口不可用

lakewatcher commented on issue #8666:
URL: https://github.com/apache/apisix/issues/8666#issuecomment-1411407189

   It is better to use one of the data structures of the Nodes operation for apisix dashboard. Some pages will be objects after being created, and will be changed into arrays after being saved on another page. In this way, you can know the data structure when want using API operations. Otherwise, I can't use PATCH because I don't know whether the storage attribute is an array or 
   a object. It must be modified in full every time.
   
   > apisix dashbord 最好对Nodes操作的数据结构用一种。不要有的页面新建后是对象,在另一个页面保存变为数组,这样使用API操作就知道数据结构。不然没法用PATCH,因为我不知道存储属性是否为数组。只能每次全量修改。
   


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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