zserio icon indicating copy to clipboard operation
zserio copied to clipboard

Whether the comments in the file header can be uniformly moved to a special file.

Open kancve opened this issue 2 years ago • 1 comments

When I upgrade the version of zserio, there are differences in the generated code, and most of the differences are from the comments in the file header. I think if I put this comment in a special file, I can better maintain the code upgrade.

1

kancve avatar Jan 11 '23 01:01 kancve

I understand that comparison of generated code is not very convinient just because of this version. We can think how to improve it. However, the main problem of the special file is naming. If you generate any file name which does not correspond to the ID in the schema, you will introduce immediatelly possibility of the clash. For example, if you generate Version.h module, it is enough to have in schema Version structure to introduce such clash.

mikir avatar Jan 11 '23 07:01 mikir