Gerd Hoffmann <kra...@redhat.com> writes: > Hi, > >> > If the schema let us specify the enumeration values, we could avoid the >> > mapping altogether. >> >> Ooh, cool thought: what if we allowed: >> >> { 'enum': 'Foo', 'data': [ >> { 'name': 'One', 'value': 1 }, >> { 'name': 'Two', 'value': 2 } ] } > > Looks nice. Where is the patch?
In Eric's List of Wonderful Things to do as Time Permits, somewhere behind the respin of the lovely "[PATCH v4 00/19] drop qapi nested structs" series ;-P