You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
any reason we wouldn't want to do this? the internal Cluster is already wrapped in an arc, also just anecdotal but all the other client structs i've worked with (nats and sqlx) allow this cloning so the user doesn't need to do the Arc wrapping in their application
The text was updated successfully, but these errors were encountered:
the ergonomic benefit is simply not needing to wrap the client struct in an Arc in generic-specifying contexts, the examples i have are from using axum e.g. when declaring request extractors
any reason we wouldn't want to do this? the internal
Cluster
is already wrapped in an arc, also just anecdotal but all the other client structs i've worked with (nats
andsqlx
) allow this cloning so the user doesn't need to do theArc
wrapping in their applicationThe text was updated successfully, but these errors were encountered: