dyne / restroom-mw

🛠 Easy REST API builder executing Zencode
https://restroom.dyne.org
GNU Affero General Public License v3.0
3 stars 11 forks source link

implicit rule setup by the host (restroom-mw) #257

Open jaromil opened 1 year ago

jaromil commented 1 year ago

Steps to reproduce

The rule directive in Zenroom is designed to be set by the calling host to setup the behavior of the VM and does not need to be exposed to the users of the host.

Therefore this:

# Always use 'Rule caller restroom-mw' when using Restroom
Rule caller restroom-mw

Should not be necessary, restroom-mw should prefix this rule to the zencode before execution into the Zenroom VM