You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing setAllowedTypes() on several options: HashTransformer, SimpleBatchTask, ConditionTrait, serialization tasks, ObjectUpdaterTask #228
Several options have no setAllowedTypes(): a value of the wrong type is accepted when the options are resolved, and fails later (during the execution) with an unclear error, or is silently misused.
Add tests (a wrong type is rejected with an InvalidOptionsException, valid values are accepted).
Requirements
Documentation updates
Reference (already documents these types)
Cookbooks
Changelog
Unit tests
Breaking changes
Almost none: only values that do not match the documented types are now rejected when the options are resolved. Most of them already failed at execution time; a few may have worked by accident (e.g. batch_count: '10' as a string, or raw_output: 1 in non-strict code), they must now use the documented type.
Activity
Merge pull request #230 from cleverage/228