platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
253 stars 26 forks source link

Fix model binding issue when TenantId contains a hyphen #590

Closed tjementum closed 1 month ago

tjementum commented 1 month ago

Summary & Motivation

Fixes a bug where TenantId containing a hyphen caused model binding to fail. Updates tests to use tenant-1 as seed data and add coverage for hyphenated TenantId. Changes CreateUserCommand.TenantId from a string to a TenantId type for consistency.

Checklist

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
50.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud