Skip to content

Add Polymorphism architecture description for Protobuf into readme file  #1338

Open
@EMaksymenko

Description

@EMaksymenko

There are missed information on how Protobuf plugin implements serializing sub-classes into byte array in the user manual.
You have described ProtoNumber annotation usage but omit description of type field numbering and how to control it.

My use case is:
I need to accept byte array on other external system (Kotlin incompatible) using generic Proto file declaration approach.
I need to understand all aspects of field numbering to build similar Proto file with the same field numbers.

All custom fields can be annotated with ProtoNumber, but what about polymorphism type field?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions