This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show errors 500 and 400 on preview (#639)
* feat(river): use HAPI FHIR $validate in preview * clean(settings): remove PYROG_API_URL * clean(docker): use env variables in docker-compose * fix(preview): update preview serializer * feat(app): use OperationOutcomeIssue in preview errors * deps: bump "requests" package to 2.26.0 * deps: add test dependency to "responses" * fix(fhir_api): validate() does not raise on non-2XX * tests(adapters): add tests for fhir_api adapter * test(preview): test preview with validation errors * refactor(tests): clean fhir_api adapter tests * fix(tests): scope of api_client is function * fix(fhir_api): differentiate _get and _post * fix(tests): scope api_client for "module" * chore(tests): add fhir_api marker * fix(tests): remove unsued snapshots * fix[app]: handle api errors in preview with notistack and not only alert component * refactor(app): creation of an handling error function * fix(app): add handling of server errors * fix(app): merging v4 in branch * fix(app): corrections from reviews and add functions for different error types * fix(app): fix error display on validation * fix(app): river schema reset * fix(app): resolve reviews, change api generated to what's in v4 * fix(app): delete cast for color * fix(app): reset to v4 * fix(app): reset ambr Co-authored-by: simonvadee <simon.vadee@gmail.com>
- Loading branch information
1 parent
f5cb0b8
commit 39476cc
Showing
2 changed files
with
114 additions
and
50 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