-
Notifications
You must be signed in to change notification settings - Fork 6
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
sdk changes for SuperMinterV2 #292
Conversation
🦋 Changeset detectedLatest commit: 83512d8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
d95d9c8
to
a1b16ab
Compare
3216d11
to
50225c6
Compare
50225c6
to
c8fc60c
Compare
c8fc60c
to
41cfee4
Compare
41cfee4
to
f623f84
Compare
b1edf8d
to
8bb00a2
Compare
8bb00a2
to
91368eb
Compare
91368eb
to
28d4d2a
Compare
if (this.cache.has(key)) { | ||
return this.cache.get(key) as T | ||
} | ||
const data = await fetchData() |
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 still feel like making this call idempotent would be worth
const version = superMinter.version | ||
|
||
switch (version) { |
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.
const version = superMinter.version | |
switch (version) { | |
switch (superMinter.version) { |
}) | ||
} | ||
default: | ||
exhaustiveGuard(version) |
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.
exhaustiveGuard(version) | |
exhaustiveGuard(superMinter) |
No description provided.