Why is the api_key and host wrapped inside an Arc?
Jasperav opened this issue · 2 comments
Jasperav commented
I don't see any calls to Arc::clone
in the code. Why aren't the two properties just String
?
bidoubiwa commented
They indeed should be changed to regular String! This is a refactor that we started doing but has not been applied yet on the Client struct.
If anyone wants to contribute to change their type to regular strings that would be very nice :)
Jasperav commented
@bidoubiwa Sure, see #338