Create a way to define a group of custom codecs that can be applied to the entire message

Registered by toby schneider

Add the ability to define a whole group of codecs that apply to the message fields. For example:

Old:
message SomeDcclMessage
{
    optional int32 a = 1 [ (dccl.field).codec = "_v3"];
    optional int32 b = 2 [ (dccl.field).codec = "_v3"];
    optional double c = 3 [ (dccl.field).codec = "_v3"];
}

New:
message SomeDcclMessage
{
    option (dccl.msg).codec_group = "_v3";

    optional int32 a = 1;
    optional int32 b = 2;
    optional double c = 3;
}

The codec group applies a set of codecs in place of the defaults to the entire message. In one case, we can use it to improve the default codecs while maintaining backwards compatibility with Goby DCCLv2. Also, users could apply a bunch of custom codecs to a given message while eliminating the extra text involved with adding 'codec = "some_custom_codec" to each field in the message.

Blueprint information

Status:
Complete
Approver:
toby schneider
Priority:
Undefined
Drafter:
None
Direction:
Approved
Assignee:
toby schneider
Definition:
Approved
Series goal:
Accepted for 3.0
Implementation:
Implemented
Milestone target:
milestone icon 3.0.1
Started by
toby schneider
Completed by
toby schneider

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.