Skip to content

Commit b1288f2

Browse files
feat(generator): expose NinoBuiltInTypesRegistration as public
Changed NinoBuiltInTypesRegistration class from internal to public to allow other assemblies to manually invoke built-in type registration initialization. This enables external assemblies to explicitly control when built-in type registrations are initialized, useful for scenarios where automatic initialization via ModuleInitializer or static constructors may not be desirable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent c7188b8 commit b1288f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nino.Generator/BuiltInType/NinoBuiltInTypesGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public static partial class Deserializer
176176
177177
namespace {{curNamespace}}
178178
{
179-
internal static class NinoBuiltInTypesRegistration
179+
public static class NinoBuiltInTypesRegistration
180180
{
181181
private static bool _initialized;
182182
private static object _lock = new object();

0 commit comments

Comments
 (0)