spacewander commented on a change in pull request #3021:
URL: https://github.com/apache/apisix/pull/3021#discussion_r541542843



##########
File path: apisix/plugins/jwt-auth.lua
##########
@@ -42,12 +42,11 @@ local schema = {
 
 local consumer_schema = {
     type = "object",
-    additionalProperties = false,
+    -- can't use additionalProperties with dependencies

Review comment:
       When `additionalProperties  = false`, you can't use `dependencies` to 
add new field. This is not explicitly shown in the spec, but both Lua and Go 
implementation have this limitation.




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