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

Reminder: Integration of @doNotSubmit Annotation Post-Dart SDK 3.4.0 Upgrade #53

Open
danielmolnar opened this issue Apr 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@danielmolnar
Copy link
Collaborator

To ensure that temporary or debug-specific code does not make it into production branches, this serves as a reminder to integrate the @doNotSubmit annotation from the meta package (1.14.0) once the Dart SDK constraints are updated to 3.4.0 or higher. The current lower SDK bounds prevent updating to Dart SDK 3.4.0, which supports meta version 1.14.0. This update would lock out a portion of the user base, hence the delay.

The @doNotSubmit annotation is designed to mark APIs that are intended for temporary or ephemeral use—such as those used during development or local testing—and should not be checked into the main branch. This annotation serves as a useful tool to flag certain code sections that need to be revisited or removed before final code submission, thus preventing potential issues in production.

An example of where this could be highly beneficial is with methods like takeScreenshot that are often used for debugging purposes but should not be available in the production environment.

@passsy passsy added the enhancement New feature or request label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants