Generalize live field bindings and use them for Studio canvas gestures
This commit is contained in:
@@ -529,6 +529,7 @@ const lowerValueMember = (state: LoweringState, context: ValueMemberContext): In
|
||||
}
|
||||
return {
|
||||
kind: "value",
|
||||
...(context.FIELD() ? { nativeField: true as const } : {}),
|
||||
...(context.queryReadContract()
|
||||
? {
|
||||
queryRead: {
|
||||
@@ -794,6 +795,7 @@ const lowerInterfaceTemplate = (
|
||||
const type = types.expression(value.valueType());
|
||||
return {
|
||||
kind: "value",
|
||||
...(value.FIELD() ? { nativeField: true as const } : {}),
|
||||
...(value.queryReadContract()
|
||||
? {
|
||||
queryRead: {
|
||||
|
||||
Reference in New Issue
Block a user