Add validation for parameters
Add validation for all parameters and modification related test cases:
1. Add property of required in Input class;
2. For all required inputs which have not default value, must provide parameters when instantiated a template;
3. For all required inputs which have default value, may not provide parameters when instantiated a template;
4. For all not required inputs, must process the logical of no parameters in template design(may provide default value, const value, or process case for none input).
The details about inputs or parameters refer to http://
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- xiaodong shang
- Direction:
- Needs approval
- Assignee:
- xiaodong shang
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- xiaodong shang
- Completed by
- xiaodong shang
Related branches
Related bugs
Sprints
Whiteboard
1. Add property of required in input class;
2. Add and modify the test cased.