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
Literals right now are a bit difficult to work with. Constructing them generally requires a bunch of sleuthing. There aren't a lot of docs and protobuf objects are leaked through the provided apis (e.g. ProtoLiteral).
Simple example. Assume we have a variable days which is an int32 of days since epoch.
Literals right now are a bit difficult to work with. Constructing them generally requires a bunch of sleuthing. There aren't a lot of docs and protobuf objects are leaked through the provided apis (e.g.
ProtoLiteral
).Simple example. Assume we have a variable days which is an int32 of days since epoch.
Current
New Utility Method
We can also add additional methods for common conversion cases. For example, maybe we add:
etc.
As part of this we should also ensure we have reasonable test coverage for the new methods
The text was updated successfully, but these errors were encountered: