Nailgun validators shouldn't mutate data in any way
Registered by
Nikolay Markov
Right now there is one big issue with our validators - they do thing they are not supposed to - converting input data from JSON string to dict. They will do it anyway on the inside, but we shouldn't return the result of their checks as a Python dict, actually, they shouldn't return anything, just raise exceptions. So, we need to rewrite handlers to serialize input data by themselves after processing it through validator, catching errors and raising corresponding exceptions if something is wrong with data.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Nikolay Markov
- Direction:
- Needs approval
- Assignee:
- Fuel Python (Deprecated)
- Definition:
- Review
- Series goal:
- Accepted for future
- Implementation:
- Not started
- Milestone target:
- next
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
(?)