Re: qapi-schema esotera

2020-08-05 Thread Markus Armbruster
John Snow writes: > On 8/4/20 1:33 AM, Markus Armbruster wrote: >> John Snow writes: >> >>> On 8/3/20 1:25 PM, Eric Blake wrote: On 8/3/20 11:49 AM, John Snow wrote: > UNION is split into two primary forms: > > 1. Simple (No discriminator nor base) > 2. Flat (Discriminator

Re: qapi-schema esotera

2020-08-04 Thread John Snow
On 8/4/20 1:33 AM, Markus Armbruster wrote: > John Snow writes: > >> On 8/3/20 1:25 PM, Eric Blake wrote: >>> On 8/3/20 11:49 AM, John Snow wrote: UNION is split into two primary forms: 1. Simple (No discriminator nor base) 2. Flat (Discriminator and base) In

Re: qapi-schema esotera

2020-08-03 Thread Markus Armbruster
John Snow writes: > On 8/3/20 1:25 PM, Eric Blake wrote: >> On 8/3/20 11:49 AM, John Snow wrote: >>> UNION is split into two primary forms: >>> >>> 1. Simple (No discriminator nor base) >>> 2. Flat (Discriminator and base) >>> >>> In expr.py, I notice that we modify the perceived type of the >>>

Re: qapi-schema esotera

2020-08-03 Thread John Snow
On 8/3/20 1:25 PM, Eric Blake wrote: On 8/3/20 11:49 AM, John Snow wrote: UNION is split into two primary forms: 1. Simple (No discriminator nor base) 2. Flat (Discriminator and base) In expr.py, I notice that we modify the perceived type of the 'type' expression based on the two union

Re: qapi-schema esotera

2020-08-03 Thread Eric Blake
On 8/3/20 11:49 AM, John Snow wrote: UNION is split into two primary forms: 1. Simple (No discriminator nor base) 2. Flat (Discriminator and base) In expr.py, I notice that we modify the perceived type of the 'type' expression based on the two union forms. 1a. Simple unions allow Array[T]

qapi-schema esotera

2020-08-03 Thread John Snow
UNION is split into two primary forms: 1. Simple (No discriminator nor base) 2. Flat (Discriminator and base) In expr.py, I notice that we modify the perceived type of the 'type' expression based on the two union forms. 1a. Simple unions allow Array[T] 1b. Flat unions disallow Array[T] From