brillout / telefunc

Remote Functions. Instead of API.
https://telefunc.com
MIT License
688 stars 31 forks source link

Is it possible to disable shield? #116

Open bravius opened 4 months ago

bravius commented 4 months ago

Is there a way to disable shield validation for both development and production modes?

I use JSON Schema for argument validation, so shield is redundant in my use case.

brillout commented 4 months ago

We recently added the shield: { dev: boolean } config, see https://github.com/brillout/telefunc/pull/111/files.

Maybe we can extend the config to be shield: false | { dev: boolean }.

PR welcome.