FastUI
FastUI copied to clipboard
Support for discriminated union component
I have a data structure which is discriminated union like this:
[
{
"type":"foo",
"value":true
},
{
"type":"bar",
"value":3
},
{
"type":"baz",
"upper_bound":4,
"lower_bound":1
}
]
would be nice to be a way to make the filter based on the discriminated union, then I can use it on forms (in modifying/adding data), or in search filter.