membphis commented on issue #1181: bug: coroutine.wrap:20: API disabled in the 
context of log_by_lua error in Batch Processor
URL: 
https://github.com/apache/incubator-apisix/issues/1181#issuecomment-593711676
 
 
   In jsonschema, the compiled Lua code is generated by using yield, but the 
yield operation is not supported in log_phase.
   
   I suggest modifying the https://github.com/iresty/jsonschema implementation 
to avoid using the yield method.
   
   
https://github.com/iresty/jsonschema/blob/ddd76d719cb102a0db2c44fe207745a9c3e53452/lib/jsonschema.lua#L141

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


With regards,
Apache Git Services

Reply via email to