Qwertas
02/02/2026, 10:43 PMclass SubClass1 {
sub1 string
}
class SubClass2 {
sub1 string
}
class Example {
ex SubClass1 | SubClass2
}
I would expect the stream of doing something like
{ex: {sub1: null}}
{ex: {sub1: "some"}}
{ex: {sub1: "some text"}}
{ex: {sub1: "some text being"}}
{ex: {sub1: "some text being streamed"}}
But now I get something like
{ex: {sub1: null}}
{ex: {sub1: "some"}}
{ex: {sub1: "some text"}}
{ex: {sub2: null}}
{ex: {sub1: "some text being"}}
{ex: {sub2: null}}
{ex: {sub1: "some text being streamed"}}
It's not related to the model. I have not changed it, and this has been tested in VSCode BAML extension. Thanks for your helpaaronv (BAML)
02/02/2026, 11:07 PMQwertas
02/02/2026, 11:35 PMaaronv (BAML)
02/03/2026, 8:10 PMdekked
02/04/2026, 3:29 AMVaibhav (BAML 🐑)
02/04/2026, 5:05 PM