ice icon indicating copy to clipboard operation
ice copied to clipboard

Replace the 'format(...)' Metadata with 'sliced-format'

Open InsertCreativityHere opened this issue 5 years ago • 1 comments

Slice currently supports 3 different arguments for the format metadata: default, compact, and sliced. In 4.0 compact will become the new default, cutting this list down to 2 options. Having a metadata directive for just 2 options seems excessive, especially when one of them is already set by default.

Instead, we should remove the metadata, and add a new sliced-format metadata. When it's specified, the format will be sliced, and when it isn't, it will be compact by default.

InsertCreativityHere avatar Nov 03 '20 01:11 InsertCreativityHere

See related todo: https://github.com/zeroc-ice/ice/blob/9b86f942d90a3cd3ed4440d3cfcf5d810841f096/cpp/src/Slice/Parser.cpp#L992-L994

InsertCreativityHere avatar May 20 '24 15:05 InsertCreativityHere