feat: NetEvolve.Pulse.AspNetCore — map commands and queries to Minimal API endpoints#156
feat: NetEvolve.Pulse.AspNetCore — map commands and queries to Minimal API endpoints#156
Conversation
5ad7fba to
0b5ffed
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #156 +/- ##
==========================================
+ Coverage 86.12% 86.74% +0.61%
==========================================
Files 42 43 +1
Lines 1312 1350 +38
Branches 123 127 +4
==========================================
+ Hits 1130 1171 +41
+ Misses 145 142 -3
Partials 37 37 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…er extensions Agent-Logs-Url: https://github.com/dailydevops/pulse/sessions/e7e2f403-d97f-4f39-87cc-35fb08681333 Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com>
0b5ffed to
16acf47
Compare
Agent-Logs-Url: https://github.com/dailydevops/pulse/sessions/8d0b5b4e-b569-43c8-86ee-b5f24d0f4cce Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com>
…mand overloads Agent-Logs-Url: https://github.com/dailydevops/pulse/sessions/f0b45a84-51f2-443f-bdf6-64b2a87ae5fc Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com>
| <Project Sdk="Microsoft.NET.Sdk"> | ||
| <PropertyGroup> | ||
| <TargetFrameworks>$(_ProjectTargetFrameworks)</TargetFrameworks> | ||
| <Description>ASP.NET Core Minimal API integration for the Pulse CQRS mediator. Provides IEndpointRouteBuilder extension methods that map mediator commands and queries directly to HTTP endpoints, eliminating boilerplate endpoint handlers that only forward to IMediator. Supports POST endpoints for commands (with typed response or 204 No Content for void commands) and GET endpoints for queries, with full CancellationToken propagation and OpenAPI compatibility.</Description> |
There was a problem hiding this comment.
Update the whole documentation @copilot to the latest implementation
There was a problem hiding this comment.
Done in commit 4450a28. Both the <Description> in the .csproj and the README.md have been updated to reflect the CommandHttpMethod enum. Changes include: updated Quick Start and Before/After code samples, revised per-overload sections showing Post/Put/Patch/Delete examples, a new CommandHttpMethod Enum reference table directing readers to MapQuery for read-only operations, and updated Chaining/Grouping examples.
Agent-Logs-Url: https://github.com/dailydevops/pulse/sessions/21f5753f-9d6f-4784-8eb0-b11d49994177 Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com>
string httpMethodwithCommandHttpMethodenum inMapCommandoverloadsCommandHttpMethod.cswith Post, Put, Patch, Delete valuesNetEvolve.Pulse.AspNetCore.csproj<Description>to mentionCommandHttpMethodenumREADME.md— Quick Start, Before/After snippets, per-method-type sections, new CommandHttpMethod reference table, Chaining and Grouping examples all reflect the enum✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.