Skip to content

v0.8.4

Compare
Choose a tag to compare
@robshakir robshakir released this 04 Aug 20:28
· 324 commits to master since this release
6c6d7de
  • Add options to MergeStruct and MergeStructInto. This release adds a MergeOpt to both of these functions which can be used to control the merging behaviour. The initial option allows for overwriting fields that are populated in both the source and destination struct. Without the option, this case would result in an error if the two structs were populated and their values were unequal - now the destination is overwritten with the source's value.
  • Initial implementation stages for ygen intermediate representation (IR). This release includes some template code (not yet currently being executed) and a design document for the restructuring of the ygen library to use an IR from which code is generated. This eventually will allow for the protobuf and Go struct rendering functions to move out of ygen into their own packages - and allow for easier extension of the library to new formats.