nic-chen commented on issue #896: URL: https://github.com/apache/apisix-dashboard/issues/896#issuecomment-734902007
In order to fix this bug quickly, I am going to change the ID field type to interface, perform type conversion during input, and convert int to a string so that when APISIX discards int as an id, it can be directly replaced. I also refer to the [IntOrString](https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go#L40) used in k8s, similar structure is too complicated for us, both input and output need to be processed accordingly, and it is inconvenient to replace all of them with string in the future. What do you think? @spacewander @ShiningRush @tokers @gxthrj @membphis @moonming ---------------------------------------------------------------- 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]
