dleurs / flutter_starter

A flutter starter
2 stars 0 forks source link

Keeping freezed #13

Closed dleurs closed 1 year ago

dleurs commented 1 year ago

Freezed still seem the way to go for generating fromJson / toJson and equalTo

However, I have to find a way to reduce build time, for developer as inside the CI

Guess 1 : keeping generated files inside git. Just on the CI, before building Android, iOS and web, run the test dart run build_runner build only once without --delete-conflicting-outputs, so if something has not been generated then CI KO and no generation

dleurs commented 1 year ago

done