Skip to content

Conversation

@angrynode
Copy link
Owner

Add helpers to extract specific kinds of paths from requests:

fn route(State(state): State<AppState>, Path(normalized_relative_path): Path<NormalizedPathRelative>) -> …

@angrynode angrynode force-pushed the normalize-paths branch 5 times, most recently from c3d654e to 3b2d0e5 Compare December 2, 2025 17:55
@angrynode
Copy link
Owner Author

I added serde integration based on the FromStr/ToString implementation. Also applied the new types to the category form/model.

Ready for review @Gabatxo1312

@angrynode
Copy link
Owner Author

Rebased on latest sea_orm RC.

Added TryFrom for normalized path types.

@angrynode angrynode merged commit 9e29575 into axum Dec 15, 2025
1 check passed
@angrynode angrynode mentioned this pull request Dec 15, 2025
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.

3 participants