Skip to content
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

Well Known Types #12

Open
egonelbre opened this issue May 13, 2022 · 0 comments
Open

Well Known Types #12

egonelbre opened this issue May 13, 2022 · 0 comments

Comments

@egonelbre
Copy link
Member

Currently we have storj.io/picobuf/picoconv for Timestamp to convert between protobuf google timestamp to time.Time. However, there are other well known types https://developers.google.com/protocol-buffers/docs/reference/google.protobuf.

There are two large ideas:

  1. Create a cross-compatibility layer for protobuf packages. This would also help with migrating from std protobuf libraries to picobuf or making them work together. Of course, we cannot directly add a dependency for protobuf, otherwise we lose many of the benefits.
  2. The alternative is to create a well known type generator and have aliases for them. This helps to fully migrate without needing to rewrite different types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant