Release v20.33.4
Fixed
- ProxyGenerator now correctly maps nullable value types (
DateTimeOffset?,DateTime?,int?,Guid?,bool?) to their underlying TypeScript types (Date,number,boolean,Guid) instead of the literal type nameNullable
Summary
The ProxyGenerator's GetTargetType method did not handle Nullable<T> generic types, causing nullable primitives in C# controller parameters to be translated as Nullable in TypeScript proxies instead of their correct underlying types.
Added nullable type detection that unwraps Nullable<T> to the underlying type and recursively resolves the correct TypeScript mapping. This fix ensures type safety is preserved across the C#/TypeScript boundary for all nullable primitive query parameters.