Skip to content
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 nullable members should be optional #28

Open
enkelmedia opened this issue Jan 8, 2021 · 1 comment
Open

Support nullable members should be optional #28

enkelmedia opened this issue Jan 8, 2021 · 1 comment

Comments

@enkelmedia
Copy link
Contributor

enkelmedia commented Jan 8, 2021

TypeScript has something called "Optional Members":

export interface Poco {
name: string;
birthdate? : Date; // Optional
}

If my poco has a nullable member

public class Poco {
   public string Name {get;set;}
   public DateTime? Birthdate {get;set}
}

The current implementation would not make the nullable member optional.

@enkelmedia
Copy link
Contributor Author

PR: #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant