G4.86 Update Trait Importer formValidate to use new return value style. #86
Labels
Group 2 - Data Importing
Any issue relating to importing of biological data into either Chado or any other database.
Group 4 - API | Services | Plugins
Any issue related to developing an API (i.e. services + plugins)
Milestone
Branch
g4.86-updateReturnValue
Groups
Group 2 - Data Importing, Group 4 - API | Services | Plugins
Dependencies
Describe
This issue is to update the current infrastructure to use the new return values format. This is dependant on Issue #85 being complete.
Design
Task 1
Update the old style validators to return both the old style return value and the new style return value. Do not worry about updating the tests for these validators as they are deprecated. Essentially,
title
becomes more developer friendly and becomes thecase
status
becomes thevalid
key with'fail'
becomingFALSE
and'pass'
becomingTRUE
.details
string (i.e. failed indices or original values) are instead individual elements in afailedIems
array.Here is the design information for the new return value style:
Task 2
Update the trait importer formValidate to use the new return value style and ignore the old one. Update any import tests with this in mind.
The text was updated successfully, but these errors were encountered: