Merged
Conversation
* remove nullable properties and disable warning for empty constructor * configure DbContext * add Contact configuration * add DateTimeProvider class * configure Auditing and Soft Delete features with EF Core * refactor Soft Delete logic to remove code analysis suppression attribute * add XML comments * move the guard clause back into the recursive method * register DateTimeProvider with DI * add missing XML comments * add InitialCreate migration
* refactor vertical slices * move Request types into the UseCases layer * add sealed modifier to Validator class and fix logging typos * add IUseCase interface and setup DI * add XML comments * rename CreateContactEndpoint to Create * remove V1 folder * flatten project structure * remove solution file * restructure folders * change folder structure * organize into Core folder per project * add WithNameAndTags extension method * modify the endpoint logging message * refactor to Command objects and move requests to API layer * remove exception details from GlobalExceptionHandler * remnove Ensure helpers
* add feature to retrieve a contact by identifier * add GetContactById endpoint metadata * change Create Contact endpoint to return 201 response and add endpoint metadata
* add delete contact use case * change XML comments * change CreateContact use case to use ContactResponse * add delete contact endpoint
* change rule to prefer primary constructors in .editorconfig * refactor to primary constructors
* add command and query abstractions * add logging decorator * implement scrutor registration and decorators * refactor use cases to use command and query handlers * add error to log context in the logging decorator * move Serilog configuration from appsettings.json to code
* refactor from owned entities to complex properties and generate migrations * remove the recursive method from soft delete logic
* refactor unique email check to use Email value object instead of command property * add UpdateContact use case * add UpdateContact endpoint
* add PagedList * add GetContacts feature
* add Contact unit tests * rename Contact unit test classes * add FirstName unit tests * refactor test classes * add LastName unit tests * change Failure to Error in test names * add Email unit tests * add PhoneNumber unit tests * add Page unit tests * add PageSize unit tests * add PagedList unit tests
* add CreateContact test * add test data seeding and CreateContact tests for failure conditions * add shared database collection * add Testing environment * refactor test data into a separate project * rename CreateContact folder to Create in order to match application structure * add GetContactById tests * add error assertions to GetContactyById test * add DeleteContact tests * refactor common error assertions to AssertResponseErrorDetails method * refactor tests to use migrations * add GetContacts test * add GetContacts tests * add UpdateContact tests * update NuGet packages
* rename unit tests project to UnitTests * use test data in unit tests
* add FirstPage constant * update validation condition to use FirstPage * update Pagination constants to use Page and PageSize values * refactor PageTests to use PageData
* add .runsettings file with code coverage exclusion rules * add VS Code workspace settings to include .runsettings
* move FirstName test cases to UnitTests project * move FirstName data to Contacts folder * move LastName test cases to UnitTests project * move Email test cases to UnitTests project * move PhoneNumber test cases to UnitTests project * move Contact test cases to UnitTests project * move Pagination test cases to UnitTests project * move CreateContact test cases to IntegrationTests project * move UpdateContact test cases to IntegrationTests project * move GetContacts test cases to IntegrationTests project * remove XUnit dependency from TestData project * add GlobalUsings file to UnitTests project * add GlobalUsings file to TestData project * add GlobalUsings file to IntegrationTests project
* Add layer dependencies tests * add EntityTests * add handler, endpoint and validator tests
* remove unsued usings * rename CreateContact test cases * rename GetContacts test cases * rename UpdateContact test cases * rename Domain.UnitTests to UnitTests
* add Handler postifx to use case handlers * add tests for handler names
…rnal (#59) * change validator access modifiers to internal * add Validator tests
* add build validation Github Actions wokflow * apply formatting * update .NET version * update .NET version to 10.0 * update .NET version to 10.0.x * update Ubuntu version * rename build configuration file * fix typo in build configuration comments * fix typo in build configuration comment * remove build configuration comment * delete build configuration file * add build configuration file * add README.md with build status badge * remove push event trigger
* add test validation file * change os from ubuntu to windows * remove push event trigger * rename workflow * add pull request event types * remove pull request types
* add excel document processing service * fix document path and implement startup seeding * add Testing environment
* add contacts report use case * make contacts report handler sealed
* add GetContacts feature * refactor GetContacts use case * add Create, Delete and Update features * remove CA2000 from .editorconfig
* add RestorePackagesWithLockFile property * add package caching to workflows
* add README documentation * add Table of contents * add Console preview image * remove ignored paths from required workflows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.