Now that we are allowing null as a valid entry to both required and optional we need to validate that a given task ID does not have null in all it's properties throughout a given model task.
Currently, if, for example, all horizon properties are null, the following error is produced by create_hub_schema()
Error in `map2()`:
ℹ In index: 3.
ℹ With name: horizon.
Caused by error:
! horizon must be a DataType, not NULL
Run `rlang::last_trace()` to see where the error occurred.
Now that we are allowing
null
as a valid entry to bothrequired
andoptional
we need to validate that a given task ID does not havenull
in all it's properties throughout a given model task.Currently, if, for example, all
horizon
properties arenull
, the following error is produced bycreate_hub_schema()