Closed nathan-vm closed 7 months ago
anyOf(string, null) is rendering same options as anyOf(string, null, int, float, date, etc). We should render only the allowed types. For example, in email sender piece the arg_value of the InnerArgModel is typed as Optional[str] and the upstream options is allowing we select all types from Log piece.
@nathan-vm
Now is good but I think we should validate fields with "format" as well for generating upstream options.
The way we have we are accepting date
, datetime
, time
, enum
in string
fields.
Strings without any format are pure strings
Strings with date
must connect only with strings with date, the same for time, datetime, etc.