You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: convert TypeInfoDto from struct to class to resolve self-referential generic field error
- Changed TypeInfoDto from record struct to sealed record class
- Changed TupleElementDto from record struct to sealed record class
- Added default values (string.Empty, null!) to all non-nullable properties
- Fixed all .HasValue and .Value usages for TypeInfoDto? (now nullable reference instead of Nullable<T>)
- Added null-conditional operators in NinoType.Equals, GetHashCode, IsPolyMorphic, and ToString
The self-referential generic field error occurred because TypeInfoDto (as a struct) contained
EquatableArray<TypeInfoDto>, creating circular type definition. Converting to class resolves this.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
0 commit comments