Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to disable shield? #116

Open
bravius opened this issue Jul 10, 2024 · 1 comment
Open

Is it possible to disable shield? #116

bravius opened this issue Jul 10, 2024 · 1 comment

Comments

@bravius
Copy link

bravius commented Jul 10, 2024

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 brillout added the enhancement ✨ New feature or request label Jul 11, 2024
@brillout
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants