Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

Chapter 18 - #13

Merged
Carl-Hugo merged 25 commits into
mainfrom
chapter-18
Aug 20, 2023
Merged

Chapter 18#13
Carl-Hugo merged 25 commits into
mainfrom
chapter-18

Conversation

@Carl-Hugo

Copy link
Copy Markdown
Owner

No description provided.

The features leverage FluentValidation.
The Features class leverages the FluentValidationEndpointFilter.
Ensure the existing request receives 200 OK.
Create a new failing request that gets 404 NOT FOUND
The ProductSeeder class is a vestige of the previous projects.
Format Program.cs so the code fits better in the book.
The Location header points to the product endpoint.
Add a test to validate this and in case the URL changes.
This allows excluding the class from the code coverage.
Move the test data into the tests for better readability.
Improve the tests.
@Carl-Hugo
Carl-Hugo merged commit 5eaa6b6 into main Aug 20, 2023
@Carl-Hugo
Carl-Hugo deleted the chapter-18 branch August 20, 2023 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant