-
Notifications
You must be signed in to change notification settings - Fork 132
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
feat: add install/uninstall validation #1221
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd the label graphite-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
aaff62a
to
9e5c594
Compare
); | ||
} | ||
|
||
if (validationConfig.entityId === 0) { |
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.
Mental note for ourselves: This is only the case for SMAb
9e5c594
to
65965de
Compare
74e34e6
to
759c516
Compare
f46ac29
to
e09b3f3
Compare
759c516
to
8f31eb6
Compare
8f31eb6
to
a82e838
Compare
e09b3f3
to
d481ee9
Compare
cbf1d53
to
be95010
Compare
873b19e
to
5f23c26
Compare
0bfcc59
to
7df9b5b
Compare
5f23c26
to
57a194e
Compare
57a194e
to
67d0863
Compare
d161f12
to
4e59a6f
Compare
|
||
import { createSMAV2AccountClient } from "./client.js"; | ||
|
||
import { createSMAV2AccountClient, type SMAV2AccountClient } from "./client.js"; |
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.
'SMAV2AccountClient' is defined but never used.
TODO: fix inconsistency between entityId types - we use
bigint
s somewhere andnumber
s in other placesPR-Codex overview
This PR introduces the
EntityIdOverrideError
class to handle cases where an entity ID is invalid due to overriding the owner's entity ID. Additionally, it adds new types and utilities for validation configurations and modifies several functions to integrate these changes.Detailed summary
EntityIdOverrideError
class inclient.ts
to signify invalid entity ID overrides.DEFAULT_OWNER_ENTITY_ID
constant.ValidationConfig
,HookConfig
, andModuleEntity
types intypes.ts
.SMAV2AccountClient
.