-
-
Notifications
You must be signed in to change notification settings - Fork 339
Closed
Labels
A-extensionsArea: Request and Response ExtensionsArea: Request and Response ExtensionsB-breakingBlocked: breaking change. This requires a breaking change.Blocked: breaking change. This requires a breaking change.S-featureSeverity: feature. This adds something new.Severity: feature. This adds something new.
Milestone
Description
I propose that we move forward to allow Request<B: Clone>
to impl Clone
. The big blocker here is that extensions
is not clonable. This could be fixed by making a AnyClone trait:
pub trait AnyClone: Any + Clone {}
The downside here is that all things you store in extensions is cloneable but I think this is a fair trade off since mostly its just information that could be thrown behind an arc or bytes.
leric, Emilgardis and GoldsteinE
Metadata
Metadata
Assignees
Labels
A-extensionsArea: Request and Response ExtensionsArea: Request and Response ExtensionsB-breakingBlocked: breaking change. This requires a breaking change.Blocked: breaking change. This requires a breaking change.S-featureSeverity: feature. This adds something new.Severity: feature. This adds something new.