-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for nullable/optional value types #63
Comments
So the reason is that under the cover it's actually a generic |
Same applies to primitives btw. ie. |
Partial Strategy: Add an extension method to As a first step, this information can be used to emit a more detailed unsupported type reason message. See https://learn.microsoft.com/en-us/dotnet/api/system.nullable.getunderlyingtype?view=net-7.0 |
I think that once a TypeDescriptor is created for such a type, we can add conversions there which will then be used by later generation phases. |
fc54eec added support for nullable structs (no support yet for nullable primitives and enums). |
ie.
bool TryGetId(out Guid? id)
I think that's currently an unsupported scenario.
Have to check.
The text was updated successfully, but these errors were encountered: