Skip to content

Implement Validate for Box<impl Validate> - #404

Open
svix-jplatte wants to merge 1 commit into
Keats:masterfrom
svix:jplatte/validate-box
Open

svix-jplatte wants to merge 1 commit into
Keats:masterfrom
svix:jplatte/validate-box

Conversation

@svix-jplatte

@svix-jplatte svix-jplatte commented Oct 19, 2026 •

Copy link
Copy Markdown

In our codebase, we have a ValidatedJson<T> axum extractor which calls Deserialize + Validate. Sometimes it is useful to box the T as part of deserialization to avoid large stack / future state copies. That doesn't currently work because this impl is missing.

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