-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix create sample mutation error messages * Add rails route default port for dev envs, fixes generated upload urls * Fix missing file in blob causing 500 error on attachFilesToSample graphql query * update graphql schema * Fix error outputs for graphql updateSampleMetadata * update create sample mutation to user_error_type * Update attach file to sample mutation to user error type * Fix error messages for UpdateSampleMetadata mutations * fix and add tests for update_sample_metadata * delineate between metadata that is not_updated and metadata that is unchanged * Add test to check that unchanged fields do not update provenance * fix error on createDirectUpload mutation * fix broken tests * Downcase metadata fields on update service * fix samples tests * Add migration for downcasing metadata * fix migration * change description on create sample mutation to be optional * Change RuntimeErrors to CoercionErrors * refactor create_sample * Fixing more errors * handle RecordNotFound exceptions at schema level * added test case for update sample metadata * move exception handling into rescue_from block * use find_by! to be consistent * refactor common methods into base mutation
- Loading branch information
1 parent
684d50b
commit e7cd888
Showing
22 changed files
with
619 additions
and
128 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
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
Oops, something went wrong.