c# support Nullable Reference Types #1486
Replies: 2 comments
-
Hi Eric, We agree! It would be much nicer to use nullable references (and value types) in C# as opposed to some proprietary helper. We'll fix this very soon... stay tuned. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hi Eric, This is now implemented! The new Slice language—released together with IceRPC—supports optional types: Any Slice type can be marked optional (with a This syntax also works in Slice1 mode (= Ice compat mode) but only for "nullable" types in Ice (class references, proxies, tagged fields/parameters). This new Slice Cheers, |
Beta Was this translation helpful? Give feedback.
-
I just started looking at ice for use with C#, but I'm disappointed in the custom Optional type instead of supporting Nullable Reference Types (aka NRT). That would be way more ergonomic and idiomatic.
Is this something that has been/is being considered for implementation?
Thanks
Eric
Beta Was this translation helpful? Give feedback.
All reactions