Diff and merge functionality in javascript

48 views
Skip to first unread message

Koen

unread,
Jan 18, 2022, 5:55:01 AM1/18/22
to Protocol Buffers
Hi,

Is there a way to get a diff and merge that diff into an instance of a message?
E.g. I saw there is a static method on Message class 'difference', that returns a new message instance with the fields of param2 that are not represented in param1.
Any existing methods that can merge the diff?

With kinds regards

Deanna Garcia

unread,
Jan 24, 2022, 7:06:53 PM1/24/22
to Protocol Buffers
Can you use MergeFrom?
Reply all
Reply to author
Forward
0 new messages