Skip to content

Well Known Types #12

Description

@egonelbre

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions