You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, schema classes only support null as a union type. We don't generate a proper union type out of it. Other code generation tools actually generate a new class representing the union, e.g.
This should generate an "String" type that allows us to inspect which of the two are given. It should have both int and string attributes so we can retrieve them, and also a more generic value method to retrieve whichever one is set.
The text was updated successfully, but these errors were encountered:
Right now, schema classes only support null as a union type. We don't generate a proper union type out of it. Other code generation tools actually generate a new class representing the union, e.g.
This should generate an "String" type that allows us to inspect which of the two are given. It should have both
int
andstring
attributes so we can retrieve them, and also a more genericvalue
method to retrieve whichever one is set.The text was updated successfully, but these errors were encountered: