Skip to content

Support custom Well-known types #3

@Dogacel

Description

@Dogacel

This feature contains two parts:

  • Provide popular well-known Kotlin types to substitute well-known protobuf types in generated code such as Timestamp to kotlinx.datetime.Instant, Duration to kotlin.time.Duration or IntWrapper to Int?.
  • [Optional] Users should be able to override certain types by the type of their choice. I.e. a user can define a convention to use UUID for certain wrapper type or a specific field.

Make sure this is defined as an option in code generator.

Make sure serialization / deserialization works with the generated types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions