-
Notifications
You must be signed in to change notification settings - Fork 353
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
Should deprecated fields be optional? #993
Comments
That seems reasonable; if you want to try adding that check here, we could see what happens: https://github.com/stephenh/ts-proto/blob/main/src/types.ts#L356 |
@husseinhere this issue/feature request should be addressed by #1010 now |
Closing this out thanks to #1010, thank you @tufandevrim ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given the message:
ts-proto generates:
But wouldn't it be a lot nicer if
oldValue
was defined asoldValue?: number
?The text was updated successfully, but these errors were encountered: