microsoft / yardl

Tooling for streaming instrument data
https://microsoft.github.io/yardl/
MIT License
29 stars 5 forks source link

Union of aliased generic types compiler error for C++ NDJSON #162

Closed naegelejd closed 2 days ago

naegelejd commented 2 days ago

Another bug related to #125 . The fix in #155 was correct, but there is an additional issue in ndjson.go: type parameters are written for NDJSON union serializers when the type is concrete (not generic).

It looks like this only occurs when defining a named union of generic records that contain generic fields... e.g. MRD's StreamItem