Skip to content

Conversation

@Shubham8287
Copy link
Contributor

@Shubham8287 Shubham8287 commented Nov 3, 2025

Description of Changes

Addresses - #3487 (comment).
Can be reviewed commit wise.

  1. Provide ModuleSubscriptions a interface to invoke ModuleHost::call_view.
  2. Handle st_view_client table insertion.
  3. Make views available form sql.

Testing

TODO

})
}

/// Get or insert view argument into `ST_VIEW_ARG_ID`.
Copy link
Contributor Author

@Shubham8287 Shubham8287 Nov 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved it to mut_tx.rs

)
.await
.map_err(log_and_500)??;
tracing::info!(sql = body);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sql::execute::run is async now, hence made this code fuctional from closure.

LifecycleReducer(Lifecycle),
}

pub struct ViewCallResult {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code motion

@Shubham8287 Shubham8287 merged commit d533f9c into shub/view-from-host Nov 3, 2025
9 of 19 checks passed
Shubham8287 added a commit that referenced this pull request Nov 6, 2025
Addresses -
#3487 (comment).
Can be reviewed commit wise.

1. Provide `ModuleSubscriptions` a interface to invoke
`ModuleHost::call_view`.
2. Handle `st_view_client table` insertion.
3. Make views available form sql.
Shubham8287 added a commit that referenced this pull request Nov 6, 2025
Addresses -
#3487 (comment).
Can be reviewed commit wise.

1. Provide `ModuleSubscriptions` a interface to invoke
`ModuleHost::call_view`.
2. Handle `st_view_client table` insertion.
3. Make views available form sql.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants