membphis commented on issue #1604: URL: https://github.com/apache/incubator-apisix/issues/1604#issuecomment-659190647
we need to check schema after we got the conf, here is an example: ```lua if data_valid and self.item_schema then data_valid, err = check_schema(self.item_schema, item.value) if not data_valid then log.error("failed to check item data of [", self.key, "] err:", err, " ,val: ", json.encode(item.value)) end end ``` Here is the code for config_etcd: https://github.com/apache/incubator-apisix/blob/master/apisix/core/config_etcd.lua#L169 ---------------------------------------------------------------- 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: us...@infra.apache.org