Skip to content

fix(buildinfo): Use macro for flattened struct generation

Orhun Parmaksız requested to merge fix/flattened_buildinfo_v2 into main

The flatten attribute of serde is only supported for self-describing formats. This causes the BuildInfoV2 parser to fail due to attempting to parse non-self-describing formats as String.

The struct-flattening approach is replaced with a custom macro that expands the v1 struct definition of the build info format.

Fixes: #78 (closed)

Edited by Orhun Parmaksız

Merge request reports

Loading