You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ServiceCollectionServiceExtensions in Integration TextFixture for easier service mocking with ReplaceServiceWithSingletonMock
Add default database configuration abstraction for each entity along with db context usage. Includes value object examples
Json serialization extension to better handle DateOnly and TimeOnly in swagger
Common value object scaffolding (Address, Percent, MonetaryAmount)
Scaffolds Dtos for Address
Scaffolds mappers
Port customization for RMQ broker and ui
Added ForbiddenAccessException and InvalidSmartEnumPropertyName handling to ErrorHandlerFilterAttribute
Updated
Removed faulty producer assertion in integration tests for better performance
Remove .AddFluentValidation(cfg => {{ cfg.AutomaticValidationEnabled = false; }}); from registration as validation should be happening directly at domain level
Integration and functional tests parallelized
Integration tests updated to use DotNet.Testcontainers for simpler docker db setup
Moved pagination, filter, and sort testing to unit tests
UserPolicyHandler uses RolePermission repo and handles finding no roles
Value Object cleanup
Better migration warning on integration tests
Move most UserPolicyHandler tests to unit tests
Move CurrentUserServiceTests test dir
Update LocalConfig to Consts for all constants in app (other than permissions and roles)
Update AutoBogus to AutobogusLifesupport to support .NET 6 and UTC
RequireHttpsMetadata off in dev for BFF and boundaries
SuperAdmin text to Super Admin
UserPolicyHandler can accommodate realm roles for keycloak
Moved permission guards to each feature handler (still using Authorize attribute on controllers for authenication check).
Simplified return on batch add feature
CLI updates for auth server and bff scaffolds
Migrated mapper to use Mapster instead of Automapper for easier value object usage and better performance. To migrate your project
Update your mappers to look like this (almost identicial to Automapper:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
🚀 Additions and Updates
Added
ServiceCollectionServiceExtensions
in IntegrationTextFixture
for easier service mocking withReplaceServiceWithSingletonMock
Add default database configuration abstraction for each entity along with db context usage. Includes value object examples
Json serialization extension to better handle
DateOnly
andTimeOnly
in swaggerCommon value object scaffolding (
Address
,Percent
,MonetaryAmount
)Address
Port customization for RMQ broker and ui
Added
ForbiddenAccessException
andInvalidSmartEnumPropertyName
handling toErrorHandlerFilterAttribute
Updated
Removed faulty producer assertion in integration tests for better performance
Remove
.AddFluentValidation(cfg => {{ cfg.AutomaticValidationEnabled = false; }});
from registration as validation should be happening directly at domain levelIntegration and functional tests parallelized
Integration tests updated to use
DotNet.Testcontainers
for simpler docker db setupMoved pagination, filter, and sort testing to unit tests
UserPolicyHandler
uses RolePermission repo and handles finding no rolesValue Object cleanup
Better migration warning on integration tests
Move most
UserPolicyHandler
tests to unit testsMove
CurrentUserServiceTests
test dirUpdate
LocalConfig
toConsts
for all constants in app (other than permissions and roles)Update
AutoBogus
toAutobogusLifesupport
to support .NET 6 and UTCRequireHttpsMetadata
off in dev for BFF and boundariesSuperAdmin
text toSuper Admin
UserPolicyHandler
can accommodate realm roles for keycloakMoved permission guards to each feature handler (still using
Authorize
attribute on controllers for authenication check).Simplified return on batch add feature
CLI updates for auth server and bff scaffolds
Migrated mapper to use
Mapster
instead ofAutomapper
for easier value object usage and better performance. To migrate your projectUpdate your mappers to look like this (almost identicial to
Automapper
:Manaully do mapping in your entity factories (due to recurssive nature of the dtos and mapping happining in the factories)
Update usings to
using MapsterMapper;
Your
ProjectTo
mappings should look like this:and import:
Your registration should now be:
Fixed
🐛 Pest Control
Fixed
This discussion was created from the release v0.16.0.
Beta Was this translation helpful? Give feedback.
All reactions