Riverpod in large scale applications #3417
-
Hello @rrousselGit , What is your recommendation? I was thinking maybe to push the generated files so at least we do not need to wait so long each time we change the branch. Are there better solutions to improve the use of annotation for large projects? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, I would recommend adding generated files to the repo for this and other reasons.
For really big projects you could structure your features into packages. |
Beta Was this translation helpful? Give feedback.
Yes, I would recommend adding generated files to the repo for this and other reasons.
If that is not enough,
build_runner
also has other options to optimize build time that are documented (e.g. usingbuild.yaml
). However, some of these optimization can lead to errors due to project specific dependencies. Therefore I cannot give a general answer here.For really big projects you could structure your features into packages.