bytecodealliance / bytecodealliance/wasm-pkg-tools

Modify `Config` without creating new `CachingClient`

Open
#155 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
160
Forks
42
Avg merge
7h 57m
Merged PRs (30d)
3

Description

At the moment, the `CachingClient`, which is created using a `Config` can not have its config mutated once it has been created. Thus if say, an override were to be added for a package or namespace, a new client needs to be created, rather than just modifying the config for the existing one. Instead, methods could be added to `CachingClient` that enable updating the config.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.