YapWC commented on issue #10930:
URL: https://github.com/apache/apisix/issues/10930#issuecomment-3685655043

   Hi @Baoyuantop in the context of OPA using Rego policy language itself the 
policy in the file would be defined in using dots like so.
   
   ```
   package examples.policy
   
   allow {
       input.method == "GET"
   }
   ```
   
   And through OPA CLI Tool as well like so.
   ```
   opa eval -d policy.rego "data.examples.policy.allow"
   ```
   But other platform than OPA it might not be a standard practice. Would 
support it dynamically here be a good practice?


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