-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Response for `/records` resource from country register will be changed very soon. It will start returning new map based response specified in register specification (https://openregister.github.io/specification/#records-resource) rather than current array based response. Changes in the PR confirms that the e-petitions is forward compatible with the new-schema from country register. This will keep e-petitions code working for both new and old schema. It allow allows country register to publish new response independently. Same set of tests are added for the new schema and implemented the solution to support both schemas. The old-schema tests/code can be deleted after country register starts publishing the new-schema.
- Loading branch information
Showing
2 changed files
with
221 additions
and
75 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