FastUI icon indicating copy to clipboard operation
FastUI copied to clipboard

Support for discriminated union component

Open ManiMozaffar opened this issue 1 year ago • 0 comments

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.

ManiMozaffar avatar Feb 27 '24 12:02 ManiMozaffar