Skip to content
New issue

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

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

Already on GitHub? # to your account

Query Safe/Developer Mode from scripts #4238

Open
2 of 4 tasks
hschletz opened this issue Mar 14, 2025 · 0 comments
Open
2 of 4 tasks

Query Safe/Developer Mode from scripts #4238

hschletz opened this issue Mar 14, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@hschletz
Copy link

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

This feature

  • blocks me from using Bruno
  • would improve my quality of life in Bruno
  • is something I've never seen an API client do before

Describe the feature you want to add, and how it would change your usage of Bruno

If a script requires Developer Mode, there seems to be no documented way to check for it. This can lead to weird failures in Safe Mode, which may be difficult to handle or even detect.

It would be nice to have an API to query the mode and bail out early or implement workarounds, like this:

if (bru.isSafeMode()) {
  throw new Error('This script requires Developer mode')
}

Mockups or Images of the feature

No response

@hschletz hschletz added the enhancement New feature or request label Mar 14, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant