Commit a804a9b
committed
feat: Add StrongIdGenerator source generator for creating strong IDs
- Implemented StrongIdGenerator to generate strong ID structs with underlying types.
- Added support for implicit and explicit conversions, equality checks, and ToString methods.
- Introduced New() and TryParse() methods for GUID-based strong IDs.
test: Create test application for source generator
- Added AStar.Dev.SourceGenerators.TestApp project to test the StrongIdGenerator.
- Implemented Order, OrderDto, and PaymentsOptions classes to utilize generated strong IDs.
- Configured appsettings.json and options.schema for testing.
chore: Update project references in AStar.Dev.Web
- Updated project references to include source generators and annotations.
- Ensured proper integration of generated services in the web application.
test: Add unit tests for service collection extensions
- Created tests for service collection extensions to validate generated service registrations.
- Included mock services and configuration for comprehensive testing.
refactor: Clean up and organize test files
- Removed commented-out code and organized test files for better readability.
- Ensured all tests are properly structured and ready for execution.1 parent 39d6db0 commit a804a9b
File tree
71 files changed
+2170
-33
lines changed- .vscode
- src
- aspire
- AStar.Dev.Web.AppHost
- Properties
- AStar.Dev.Web.Aspire.Common
- AStar.Dev.Web.ServiceDefaults
- modules/apis
- AStar.Dev.Files.Classifications.Api
- Properties
- AStar.Web.ApiService
- services/AStar.Dev.OneDrive.Client
- Models
- Services
- ViewModels
- Views
- source-generators
- AStar.Dev.Annotations
- AStar.Dev.Source.Generators
- Properties
- AStar.Dev.SourceGenerators.TestApp
- Services
- uis/AStar.Dev.Web
- Models
- Services
- test
- source-generators/AStar.Dev.Source.Generators.Tests.Unit
- ExampleFiles
- Utils
- uis
- AStar.Dev.Web.Tests.Integration
- AStar.Dev.Web.Tests.Unit
- Components
- StartupConfiguration
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
71 files changed
+2170
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
38 | 50 | | |
39 | 51 | | |
40 | 52 | | |
| |||
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments