-
Notifications
You must be signed in to change notification settings - Fork 17
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
v0 for runtime derived properties #977
base: main
Are you sure you want to change the base?
Conversation
D extends DeriveClause<K>, | ||
> = { | ||
__DefinitionMetadata: { | ||
properties: { [T in Extract<keyof D, string>]: PropertyDef<"integer"> }; |
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.
PropertyDef<"integer">
: This is the fun part to figure out
@@ -245,4 +247,24 @@ export interface ObjectSet< | |||
properties: Array<P>, | |||
listener: EXPERIMENTAL_ObjectSetListener<Q, P>, | |||
) => { unsubscribe: () => void }; | |||
|
|||
readonly derive: < |
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'm not sure of the best way to gate this. I want this to be on object set since I want to ensure you can do stuff to an object set before it. Is it crazy to leave this ungated on beta(only merged when e2e works ofc)
No description provided.