Compare commits
2
Commits
3b551f1565
...
cd0981cea1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd0981cea1 | ||
|
|
efeac88a49 |
@@ -13,9 +13,9 @@
|
|||||||
- Never commit autogenerated code to the repository. This applies to backend,
|
- Never commit autogenerated code to the repository. This applies to backend,
|
||||||
frontend, shared packages, and every other module, including generated
|
frontend, shared packages, and every other module, including generated
|
||||||
protobuf bindings, API clients, serializers, and framework-generated code.
|
protobuf bindings, API clients, serializers, and framework-generated code.
|
||||||
- Commit the source definitions, generator configuration, and reproducible
|
- Commit the schema source definitions, generator configuration, and reproducible
|
||||||
generation commands instead. Generate code locally or during build and CI
|
generation commands instead. Generate code from the schema source at build
|
||||||
workflows before any dependent validation or compilation steps.
|
time, before any dependent validation or compilation steps, including in CI.
|
||||||
- Keep generated outputs ignored by Git. Do not force-add ignored generated
|
- Keep generated outputs ignored by Git. Do not force-add ignored generated
|
||||||
files or copy generated code into tracked source files.
|
files or copy generated code into tracked source files.
|
||||||
- Change the source definitions or generator inputs rather than editing
|
- Change the source definitions or generator inputs rather than editing
|
||||||
|
|||||||
Reference in new issue
Block a user