tatethurston / TwirpScript

A protobuf RPC framework for JavaScript and TypeScript
MIT License
130 stars 13 forks source link

Best practices for handling google.protobuf.timestamp? #228

Open talksik opened 1 month ago

talksik commented 1 month ago

What are best ways to deal with this? Perhaps we abstract completely here in twirpscript so that it's out of the way?

I saw this, but wasn't sure if anything progressed here: https://github.com/tatethurston/ProtoScript/issues/43

tatethurston commented 4 weeks ago

Hey @talksik, yeah I held off on implementing that functionality to wait to see if there was any interest.

I think I’m still inclined to automatically parse google.protobuf.timestamp into a Date, and then later when Temporal lands, migrate to that.

talksik commented 4 weeks ago

@tatethurston Temporal sounds interesting...finally someone trying to solve this problem hollistically :)