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

Extract QueryParams structs #10238

Merged
merged 7 commits into from
Dec 18, 2024
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 18, 2024

This PR extracts a bunch of FooQueryParams structs to simplify our query parameter handling and better document our supported query parameters. These structs implement axum::FromRequestParts and utoipa::IntoParams so they should be easy to use and essentially self-documenting wrt our OpenAPI description.

Related:

Verified

This commit was signed with the committer’s verified signature.
Turbo87 Tobias Bieniek

Verified

This commit was signed with the committer’s verified signature.
Turbo87 Tobias Bieniek

Verified

This commit was signed with the committer’s verified signature.
Turbo87 Tobias Bieniek
…s>` for `ListFilter`

Verified

This commit was signed with the committer’s verified signature.
Turbo87 Tobias Bieniek

Verified

This commit was signed with the committer’s verified signature.
Turbo87 Tobias Bieniek

Verified

This commit was signed with the committer’s verified signature.
Turbo87 Tobias Bieniek

Verified

This commit was signed with the committer’s verified signature.
Turbo87 Tobias Bieniek
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ C-documentation 📜 Category: Documentation of crates.io itself labels Dec 18, 2024
@Turbo87 Turbo87 merged commit cdba41c into rust-lang:main Dec 18, 2024
8 checks passed
@Turbo87 Turbo87 deleted the query-params-structs branch December 18, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-documentation 📜 Category: Documentation of crates.io itself C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant