Skip to content

✨ Add dataclasses-based route parameters#14774

Open
HoverHell wants to merge 1 commit intofastapi:masterfrom
HoverHell:route-dc
Open

✨ Add dataclasses-based route parameters#14774
HoverHell wants to merge 1 commit intofastapi:masterfrom
HoverHell:route-dc

Conversation

@HoverHell
Copy link

Proposal for discussion:

Adding a dataclass that represents the arguments to api_route
allows for custom route-building functions
without having to copy all the parameters supported in api_route.

For an example, see classy_fastapi, or this related code and discussion.

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 26, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing HoverHell:route-dc (5095218) with master (8c32e91)

Summary

✅ 20 untouched benchmarks

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.

1 participant