-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code generation and update Namespace
- Modified `Namespace.cs` to change `PostgresSettings` from class to record, adding a `required` modifier to `ConnectionString`. - Updated `ConfigurationKeysGenerator.cs` to support a new parameter in `GenerateConfigurationKeysForType` method to avoid recursive type processing. - Introduced a check to skip compiler-generated properties in `GenerateConfigurationKeysForType`. - Implemented a mechanism to track and prevent infinite recursion by using a `HashSet<INamedTypeSymbol>` for processed types. - Added cleanup logic to remove processed class symbols from the tracking set after processing.
- Loading branch information
1 parent
8e10dc2
commit 3432675
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters