Repository navigation
Add more fields to KCL execution responses #1450
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
base: main
Are you sure you want to change the base?
Changes from all commits
252fce5
67604a1
be3bb71
45807e3
3bea00e
9813471
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -238,7 +238,7 @@ pub enum OkWebSocketResponseData { | |
| #[cfg(feature = "exec-kcl")] | ||
| ExecKclProject { | ||
| /// Result after executing KCL. | ||
| result: Result<crate::exec_kcl::ExecKclProjectOk, crate::exec_kcl::ExecKclProjectErr>, | ||
| result: Box<Result<crate::exec_kcl::ExecKclProjectOk, crate::exec_kcl::ExecKclProjectErr>>, | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Boxed this because we really are sending a lot of information in this response, it becomes very big. There's no need to worry about a single Box (heap pointer dereferencing) when we're sending all this data over the network. |
||
| }, | ||
|
|
||
| /// Request that the client end this connection and establish a new session | ||
|
|
||
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.
Oops. Copypasta.