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

query parameters validation #942

Open
sbrunato opened this issue Nov 23, 2023 · 0 comments · May be fixed by #1069
Open

query parameters validation #942

sbrunato opened this issue Nov 23, 2023 · 0 comments · May be fixed by #1069
Assignees
Labels
dedl DEDL related enhancement New feature or request

Comments

@sbrunato
Copy link
Collaborator

sbrunato commented Nov 23, 2023

In order to validate type and formatting of query parameters, please use the new queryables features.

Validation could be performed in core._prepare_search.

If format is incorrect, raise eodag.utils.exception.ValidationError with the parameter name as exception attribute.
Make the translation to STAC parameters on server side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dedl DEDL related enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants