Open benluelo opened 5 months ago
currently, we define timestamps as multiple different types:
https://github.com/unionlabs/union/blob/f92cc97a00f3a45988621fa1480c2784806cf757/lib/unionlabs/src/traits.rs#L152-L153 https://github.com/unionlabs/union/blob/f92cc97a00f3a45988621fa1480c2784806cf757/lib/unionlabs/src/traits.rs#L310-L312
this should be unified to a type that handles nanos properly. we can likely reuse the protobuf defined timestamp type: https://github.com/unionlabs/union/blob/main/lib/unionlabs/src/google/protobuf/timestamp.rs
not marking this as E-easy since this touches a significant portion of the repo
currently, we define timestamps as multiple different types:
https://github.com/unionlabs/union/blob/f92cc97a00f3a45988621fa1480c2784806cf757/lib/unionlabs/src/traits.rs#L152-L153 https://github.com/unionlabs/union/blob/f92cc97a00f3a45988621fa1480c2784806cf757/lib/unionlabs/src/traits.rs#L310-L312
this should be unified to a type that handles nanos properly. we can likely reuse the protobuf defined timestamp type: https://github.com/unionlabs/union/blob/main/lib/unionlabs/src/google/protobuf/timestamp.rs