Commit b09de2d
authored
Introduce base V4 PayloadValidator (#5494)
**Story card:** [sc-14156](URL)
## Because
I'm working on introducing a new sync route and…
- I couldn't find the specs for the validators where they should be
- V4 sync route payload validators were ineriting from a V3 base
## This addresses
- One step towards proper separation of concerns
- Implemeting the same technique for the V3 and V4 sync controllers
## Test instructions
- Ensure existing tests pass since this is purely refactoring1 parent 6bd10a1 commit b09de2d
File tree
10 files changed
+6
-4
lines changed- app/validators/api/v4
- spec/validators/api
- v3
- v4
10 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments