Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom cache object to be passed to client config #1036

Merged
merged 8 commits into from
Aug 23, 2022

Conversation

namesty
Copy link
Collaborator

@namesty namesty commented Jul 7, 2022

No description provided.

dOrgJelli
dOrgJelli previously approved these changes Aug 23, 2022
@dOrgJelli dOrgJelli marked this pull request as ready for review August 23, 2022 07:52
krisbitney
krisbitney previously approved these changes Aug 23, 2022
@@ -20,6 +21,7 @@ export interface ClientConfig<TUri extends Uri | string = string> {
interfaces: InterfaceImplementations<TUri>[];
envs: Env<TUri>[];
uriResolvers: UriResolver[];
wrapperCache?: WrapperCache;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on naming this "cache"?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything LGTM!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the explicit nature of "wrapper cache", as there may be other things we want to cache in the future.

@dOrgJelli dOrgJelli dismissed stale reviews from krisbitney and themself via 8cb0142 August 23, 2022 08:26
@dOrgJelli dOrgJelli merged commit 8040fcb into origin-dev Aug 23, 2022
@dOrgJelli dOrgJelli deleted the namesty/cache-improvements branch April 10, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants