-
Notifications
You must be signed in to change notification settings - Fork 52
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
Conversation
@@ -20,6 +21,7 @@ export interface ClientConfig<TUri extends Uri | string = string> { | |||
interfaces: InterfaceImplementations<TUri>[]; | |||
envs: Env<TUri>[]; | |||
uriResolvers: UriResolver[]; | |||
wrapperCache?: WrapperCache; |
There was a problem hiding this comment.
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"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything LGTM!
There was a problem hiding this comment.
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.
No description provided.