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

Return error on incomplete or wrong queries when retrieving records #598

Closed
QuantumDancer opened this issue Dec 20, 2023 · 0 comments · Fixed by #617
Closed

Return error on incomplete or wrong queries when retrieving records #598

QuantumDancer opened this issue Dec 20, 2023 · 0 comments · Fixed by #617
Assignees
Labels
bug Something isn't working rust Pull requests that update Rust code

Comments

@QuantumDancer
Copy link
Contributor

Currently, when we do a query like GET /record?xyz (undefined parameter xyz) or GET /record?start_time (operator and value missing), we return all records in the database (i.e., the same behaviour than querying GET /record ).

However, we should return some error when the query is incomplete.

@QuantumDancer QuantumDancer added bug Something isn't working rust Pull requests that update Rust code labels Dec 20, 2023
@QuantumDancer QuantumDancer added this to the Release v0.4.0 milestone Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants