Skip to content
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

Missing server side validation on listType #82

Closed
adam-collins opened this issue Mar 1, 2024 · 3 comments
Closed

Missing server side validation on listType #82

adam-collins opened this issue Mar 1, 2024 · 3 comments
Assignees

Comments

@adam-collins
Copy link
Contributor

I can only find client side validation on list type. There should be something on the server side as well. https://github.com/AtlasOfLivingAustralia/species-lists/blob/develop/lists-ui/src/listTypes.json

@adam-collins
Copy link
Contributor Author

Add a service to get this list. It is a mandatory field in list creation so the list should be public.

Also, spatial-hub would benefit from a dynamic list.

@adam-collins
Copy link
Contributor Author

There are other mandatory fields; licence, region. Maybe this new REST service should bundle all the valid values given that the UI restricts them.

Task

  • Server side validation for metadata fields that are limited by the UI.
  • REST/graphql service to retrieve these limited values.

@jack-brinkman
Copy link
Contributor

Fixed in #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants