ShiningRush commented on issue #2700:
URL: https://github.com/apache/apisix/issues/2700#issuecomment-726709700


   Here is no need create version for schema, because the schema is build from 
APISIX, so schema version should same as APISIX.
   I think we can do like that:
   - APISIX will automatically write schema and APISIX-VERSION to 
`/apisix/jsonschema` at start
   - Dashboard maintain a white/black version list in config and watch the 
schema changes, if the APISIX version is incompatible we can show message to 
user such as `the current dashboard version is incompatible with APISIX(x.x.x), 
please update dashboard or APISIX`
   
   Automation is very important to a product, we should not let users decide 
when to synchronize and when not to synchronize schema when it's effect scope 
is controllable( schema mismatch is will just effect dashboard not data plane), 
it will burden users.


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