4dd6db886f
* SaveObject is always insert or replace. Never use insert or ignore * add/fix tests * always replace even for bulk
860 B
860 B
Git Commit Instructions
To ensure high-quality and consistent commits, please follow these guidelines:
-
Format your code
- Run the
csharpierformatter on all C# files before committing. - Ensure your code adheres to the
.editorconfigsettings.
- Run the
-
Write clear commit messages
- Use the present tense ("Add feature" not "Added feature").
- Start with a short summary (max 72 characters), followed by a blank line and a detailed description if necessary.
-
Test your changes
- Run all unit tests before committing.
- Add or update xUnit tests as needed.
- Use AwesomeAssertions for assertions and Moq for mocking in tests.
-
Review your changes
- Double-check for accidental debug code or commented-out code.
- Ensure only relevant files are staged.
Thank you for helping maintain code quality!