-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 refactoring
- Loading branch information
Showing
10 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class Api::V4::PayloadValidator < Api::V3::PayloadValidator | ||
end |
2 changes: 1 addition & 1 deletion
2
app/validators/api/v4/questionnaire_response_payload_validator.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.