Skip to content

support build options for filed type #69

@BeatsKitano

Description

@BeatsKitano

This is a wonderful plugin! thank you for open source.
I have a little issue.this is my proto file hello.proto:

syntax = "proto3";

message Reply {
	string id = 1;  
}

this lib generate filed id type to string | undefined, but field id is define.
If id is optional, i think string | undefined is ok, now id is default required, the generate field type should be string, not string | undefined

version: latest

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