Skip to content

Commit 6057354

Browse files
committed
chore: update readme regarding #6
1 parent e886dc9 commit 6057354

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/envied/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,19 @@ static const String apiKey; // Searches for a variable named 'DEBUG_API_KEY' ins
221221

222222
These example illustrates how the field name `apiKey` is automatically transformed to `API_KEY`, adhering to the `CONSTANT_CASE` convention commonly used as the variable name inside the `.env` file. This feature contributes to improved code consistency and readability, while also aligning with [Effective Dart](https://dart.dev/effective-dart) naming conventions.
223223

224+
### Known issues
225+
226+
When modifying the `.env` file, the generator might not pick up the change due to [dart-lang/build#967](https://github.com/dart-lang/build/issues/967).
227+
If that happens simply clean the build cache and run the generator again.
228+
229+
```sh
230+
dart run build_runner clean
231+
dart run build_runner build --delete-conflicting-outputs
232+
```
233+
234+
For more information please see [petercinibulk/envied#6](https://github.com/petercinibulk/envied/issues/6#issuecomment-1243434607)
235+
and/or the original issue [dart-lang/build#967](https://github.com/dart-lang/build/issues/967).
236+
224237
<br>
225238

226239
## License

0 commit comments

Comments
 (0)