Dart code generation files in git. Yes or no?
I started writing Flutter and Dart code a few weeks ago for a real production project that we are migrating from another tech stack (Xamarin).
Soon I started using the power of code generation libraries like freezed, json_serializable, slang_build_ru...
xleon.net4 min read
Good article, but what if I use generated code in my packages? Since generated code are not commit to git, my package consumers are not able to build their apps because generated code are missing.
Let's say: package A use intl_translation to generate localization code and the generated code are not committed to git. flutter app B dependence on package A from git:
A: git: <url to package A git repository>flutter app B will not able to build cause by localization code are missing.