Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
Introduce a series of small refactorings to improve code clarity and maintainability. Dependency configuration has been updated to use fluent interface chaining, and related classes in the SharedKernel have been moved to a Configuration namespace. The AddApiServices method is renamed to AddWorkerServices for better clarity.
Other changes include renaming AddEmailSignatureService to AddEmailSignatureClient, aligning IdGenerators in SharedKernel.Tests with StronglyTypedIds in the SharedKernel, and refactoring dependency configuration in the AppGateway.
The GetLoggedInUserAsync method now throws an exception if no user is logged in, enforcing stricter behavior. Additionally, custom properties on the ChangeLocale event are renamed from old_locale/new_locale to from_locale/to_locale, aligning with the conventions used in the ChangeUserRole event.
Checklist
[x] I have added a Label to the pull-request
[x] I have added tests, and done manual regression tests
[x] I have updated the documentation, if necessary
Summary & Motivation
Introduce a series of small refactorings to improve code clarity and maintainability. Dependency configuration has been updated to use fluent interface chaining, and related classes in the SharedKernel have been moved to a
Configuration
namespace. TheAddApiServices
method is renamed toAddWorkerServices
for better clarity.Other changes include renaming
AddEmailSignatureService
toAddEmailSignatureClient
, aligningIdGenerators
inSharedKernel.Tests
withStronglyTypedIds
in the SharedKernel, and refactoring dependency configuration in the AppGateway.The
GetLoggedInUserAsync
method now throws an exception if no user is logged in, enforcing stricter behavior. Additionally, custom properties on theChangeLocale
event are renamed fromold_locale/new_locale
tofrom_locale/to_locale
, aligning with the conventions used in theChangeUserRole
event.Checklist