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

adding repeated values #4

Open
maheshpolus opened this issue Feb 3, 2020 · 0 comments
Open

adding repeated values #4

maheshpolus opened this issue Feb 3, 2020 · 0 comments

Comments

@maheshpolus
Copy link

can you please add how to use repeated ? to more clarity how to set values to a repeated field?

message Message {
string id = 3;
repeated todo todos = 9;
}

message todo {
int32 id = 1;
string description = 2;
}

todosData = [{id:1, description: 'i want to study protobuf"}. {id: 2, description: ''how to add this'}];
message.setid('3');
message. ?????

please help

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