spacewander opened a new issue, #8569:
URL: https://github.com/apache/apisix/issues/8569

   ### Description
   
   Currently, all the resources under `apisix.admin` are basically copied and 
pasted from a template and changed. If you make general changes to the 
resource, such as fix count or add adapter, you need to change it file by file. 
And due to historical problems, some resource implementation methods are 
incomplete.
   I hope we can refactor the code to something like `core.config.new`, where 
we only need to pass a few parameters to create a new resource.
   
   Note: Please read every resource file before jumping into the refactor. Some 
resources have particular logic. We need a smart way to handle them.
   
   CC @An-DJ 


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to