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

feat: allow filtering for null #760

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

JonasKellerer
Copy link
Contributor

@JonasKellerer JonasKellerer commented Apr 27, 2024

resolves #757

Description

Allows all filters in GET and POST requests to be null (except pango lineage)

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

@JonasKellerer
Copy link
Contributor Author

Currrently this PR is waiting on SILO to handle null values in float filters.

@JonasKellerer
Copy link
Contributor Author

@fengelniederhammer Do we want to explicitly show in Swagger that null is a valid filter value?

@fengelniederhammer
Copy link
Contributor

@fengelniederhammer Do we want to explicitly show in Swagger that null is a valid filter value?

Would be good, does Swagger have good support for nullable types? Or is it that "not required" means "nullable" in Swagger?

Copy link
Contributor

@fengelniederhammer fengelniederhammer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

- except pango lineage

wip: swagger ui
@fengelniederhammer fengelniederhammer merged commit f680305 into main May 7, 2024
11 checks passed
@fengelniederhammer fengelniederhammer deleted the 757-filter-by-null-values branch May 7, 2024 12:48
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

Successfully merging this pull request may close these issues.

Filter by null values
2 participants