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

Make it possible for query API users to obtain no query result #255

Closed
holtgrewe opened this issue Oct 17, 2023 · 0 comments · Fixed by #256
Closed

Make it possible for query API users to obtain no query result #255

holtgrewe opened this issue Oct 17, 2023 · 0 comments · Fixed by #256
Labels
enhancement New feature or request

Comments

@holtgrewe
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, users of the annonars::*::cli::query "interfaces" cannot differentiate between "no entry found" and "there was an error in the query".

Describe the solution you'd like
Make the query functions return Result<Option<Record>> to make this possible

Describe alternatives you've considered
N/A

Additional context
varfish-org/varfish-server-worker#230

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

Successfully merging a pull request may close this issue.

1 participant