-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
G4.87 Split GENUS validator into new style validators. #87
Comments
psudo-code for the genusExists() plugin:
|
For the project validator plugin: This plugin assumes the existence of fields named genus and project.
|
For the project one, maybe we need two validators? One to check if the project exists in chado because as you say this is more generic and another to check that the pair is configured. Something like projectExists and projectGenusMatch? |
Project exists - validates the project exists in chado.project.
|
Branch
g4.87-genusValidators
Groups
Group 2 - Data Importing, Group 4 - API | Services | Plugins
Dependencies
Describe
This issue is meant to upgrade the existing Genus to the new style described in Issue #82. These will be in inputType
metadata
and will be given the form values. The original Project is not needed as it is handled by the drupal form validate by making the field required 🤔Does not remove the original validator! Does not update trait importer to use this new validator.
Design
I think we want two validators:
I don't think either one requires any config as they should both have everything they need in the form values. Neither should look at the file in any way ;-p
The text was updated successfully, but these errors were encountered: