You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Versions of relevant software used
0.13.0
What happened
When I generate a proto where a field is marked required, the corresponding AsObject type for that field is still optional. This is shown in the example files as well:
my_double
is required in proto, yet in the generated file,myDouble
is optional (i.e.,myDouble?: number
What you expected to happen
Required fields are translated as required in type definition.
How to reproduce it (as minimally and precisely as possible):
See example files linked.
Full logs to relevant components
Anything else we need to know
The text was updated successfully, but these errors were encountered: