Check every parameter spec lists against its allowed values (oneOfProblem); an
array parameter is checked element by element. undefined/null mean omitted;
parameters spec does not list are left alone. Throws FimValidationError
(Invalid feldart: Expected one of: input, select, …). The TypeScript unions
already say this, but plain-JS callers, casts and values taken from data bypass
them, and the API would answer with a 422 or, worse, an unfiltered result.
Check every parameter
speclists against its allowed values (oneOfProblem); an array parameter is checked element by element.undefined/nullmean omitted; parametersspecdoes not list are left alone. ThrowsFimValidationError(Invalid feldart: Expected one of: input, select, …). The TypeScript unions already say this, but plain-JS callers, casts and values taken from data bypass them, and the API would answer with a 422 or, worse, an unfiltered result.