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

updated query parameter meta fields to support front-end filtering ba… #8

Merged
merged 6 commits into from
Apr 16, 2024

Conversation

Palabola
Copy link
Contributor

…sed on openapi.json

title="Active only",
description="Show only active servers",
json_schema_extra={"category_id": FilterCategories.BASIC},
),
Copy link
Member

Choose a reason for hiding this comment

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

IMO this should be True by default?

json_schema_extra={"category_id": FilterCategories.PRICE, "step": 0.0001},
),
] = None,
only_active: Annotated[
Copy link
Member

Choose a reason for hiding this comment

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

need to add to the SQL query

Copy link
Member

@daroczig daroczig left a comment

Choose a reason for hiding this comment

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

I've commited the changes suggested below, merging. Thanks!

@daroczig daroczig merged commit 21b51ca into main Apr 16, 2024
1 check passed
@daroczig daroczig deleted the DEV-99 branch April 16, 2024 20:59
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.

2 participants