tableau icon indicating copy to clipboard operation
tableau copied to clipboard

override: support sheet-level message data overriding for different sheets but same protoconf schema

Open wenchy opened this issue 1 year ago • 1 comments

Add new metasheet option override:

// Override support sheet-level message data overriding for different sheets but same protoconf schema.
// NOTE: should be used with *scatter* option.
bool override = 19;

https://github.com/tableauio/tableau/blob/49ea8d784e05076e34377ae35a330c09e4262fba/proto/tableau/protobuf/tableau.proto#L109-L111

// Override support sheet-level message data overriding for different sheets but same protoconf schema.
// NOTE: should be used with *scatter* option.
bool override = 19; [(tableau.field) = { name: "Override " optional: true }];

https://github.com/tableauio/tableau/blob/49ea8d784e05076e34377ae35a330c09e4262fba/proto/tableau/protobuf/metabook.proto#L60-L65

wenchy avatar May 23 '24 10:05 wenchy

Maybe using yaml is a good format option. And schema checking is guaranteed for override option.

wenchy avatar Jun 25 '24 13:06 wenchy