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

Validate types of arguments in make_search and make_location. #28

Open
bartosz-witkowski opened this issue Mar 15, 2023 · 0 comments
Open

Comments

@bartosz-witkowski
Copy link
Member

Passing non conforming arguments in make_location (e.g str instead of numeric coordinates) and make_search (lists instead of arrays, ids should be str), yet it only becomes apparent when executing requests in (e.g time_filterandtime_filter_fast` ) methods and json format error are returned.

These could be caught faster with a better feedback to the api user when validation would be done directly in the appropriate constructors.

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

1 participant