Skip to content

Client::with_* don't affect previous clones of the client - intended? #248

@svix-jplatte

Description

@svix-jplatte

Hi!

I wanted to know whether Client::with_options would affect all clones of a client or only the instance I call this on (plus further clones of it). I had to go read the source to find that out. Do you consider the current behavior - of clients always sharing the underlying HTTP transport, but having different options, header and such if with_* is called on a clone - a guarantee you won't break, at least until clickhouse 0.14? I'd be happy to make a PR documenting this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions