Commit Graph

10 Commits

Author SHA1 Message Date
david.nguyen 201768e716 Revert AllowAnonymous endpoint propagation
Publish NuGets / build (release) Successful in 35s
Remove the WithAllowAnonymousIfAttributePresent helper method.
Authorization should be handled by IQueryAuthorizationService and
ICommandAuthorizationService implementations, not by ASP.NET Core
middleware.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 13:07:03 -05:00
david.nguyen 932ee6e632 add AllowAnonymous support for MinimalApi endpoints
Publish NuGets / build (release) Successful in 37s
Endpoints with [AllowAnonymous] attribute on query/command class
now bypass ASP.NET Core authorization middleware.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:29:26 -05:00
david.nguyen 227be70f95 Fix MinimalApi to resolve authorization services per-request
- Resolve ICommandAuthorizationService and IQueryAuthorizationService from request-scoped serviceProvider
- Allows Scoped authorization services that depend on DbContext
- Updated both MinimalApi and DynamicQuery.MinimalApi

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 15:56:31 -05:00
mathias 24a08c314a prepare for publishing 2025-11-07 12:02:33 -05:00
mathias 2ee65b8dad yes 2025-11-04 16:45:54 -05:00
mathias e19fad2baa checkpoint 2025-11-04 15:05:07 -05:00
mathias facc8d7851 mega cleanup :D 2025-11-03 16:00:13 -05:00
mathias 5ba351de9c added dynamic queries for minimal api 2025-11-03 09:50:03 -05:00
mathias 4824c0d31d first grpc and minimal api preview :) 2025-11-02 03:14:38 -05:00
mathias f6dccf46d7 cat on a spaceship 2025-11-01 22:38:46 -04:00