-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove nested commands' events from outer KernelCommandResult.Events (#…
…3177) * allow explicit parenting, refactor away a bunch of command id usage * remove command id from .NET code * wip: remove id from TypeScript command * Fix tests for polyglot notebook ts project * align bahaviour to C# * remove token property on typescript * cleanup getOrCreateToken usage * fix the child command root * rename nested classes to avoid warning --------- Co-authored-by: Diego Colombo <dicolomb@microsoft.com>
- Loading branch information
1 parent
85fe710
commit f0979a5
Showing
79 changed files
with
343 additions
and
381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ests/SerializationTests.Command_contract_has_not_been_broken.approved.CompileProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
....Tests/SerializationTests.Command_contract_has_not_been_broken.approved.OpenDocument.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...t.Tests/SerializationTests.Command_contract_has_not_been_broken.approved.OpenProject.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "OpenProject", | ||
"command": { | ||
"project": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
...oft.DotNet.Interactive.Kql.Tests/Microsoft.DotNet.Interactive.Kql.Tests.v3.ncrunchproject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<ProjectConfiguration> | ||
<Settings /> | ||
<Settings> | ||
<IgnoredTests> | ||
<NamedTestSelector> | ||
<TestName>Microsoft.DotNet.Interactive.Kql.Tests.KqlConnectionTests.query_produces_expected_formatted_values</TestName> | ||
</NamedTestSelector> | ||
</IgnoredTests> | ||
</Settings> | ||
</ProjectConfiguration> |
1 change: 0 additions & 1 deletion
1
...s/Connection/SerializationTests.Command_contract_has_not_been_broken.approved.Cancel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "Cancel", | ||
"command": { | ||
"targetKernelName": "csharp", | ||
|
1 change: 0 additions & 1 deletion
1
...ializationTests.Command_contract_has_not_been_broken.approved.ChangeWorkingDirectory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ection/SerializationTests.Command_contract_has_not_been_broken.approved.DisplayError.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "DisplayError", | ||
"command": { | ||
"message": "oops!", | ||
|
1 change: 0 additions & 1 deletion
1
...ection/SerializationTests.Command_contract_has_not_been_broken.approved.DisplayValue.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "DisplayValue", | ||
"command": { | ||
"formattedValue": { | ||
|
1 change: 0 additions & 1 deletion
1
...sts/Connection/SerializationTests.Command_contract_has_not_been_broken.approved.Quit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "Quit", | ||
"command": { | ||
"targetKernelName": null, | ||
|
1 change: 0 additions & 1 deletion
1
.../SerializationTests.Command_contract_has_not_been_broken.approved.RequestCompletions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "RequestCompletions", | ||
"command": { | ||
"code": "Cons", | ||
|
1 change: 0 additions & 1 deletion
1
.../SerializationTests.Command_contract_has_not_been_broken.approved.RequestDiagnostics.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...on/SerializationTests.Command_contract_has_not_been_broken.approved.RequestHoverText.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ection/SerializationTests.Command_contract_has_not_been_broken.approved.RequestInput.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...n/SerializationTests.Command_contract_has_not_been_broken.approved.RequestKernelInfo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...erializationTests.Command_contract_has_not_been_broken.approved.RequestSignatureHelp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ection/SerializationTests.Command_contract_has_not_been_broken.approved.RequestValue.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "RequestValue", | ||
"command": { | ||
"name": "a", | ||
|
1 change: 0 additions & 1 deletion
1
...n/SerializationTests.Command_contract_has_not_been_broken.approved.RequestValueInfos.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...on/SerializationTests.Command_contract_has_not_been_broken.approved.SendEditableCode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...onnection/SerializationTests.Command_contract_has_not_been_broken.approved.SendValue.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "SendValue", | ||
"command": { | ||
"formattedValue": { | ||
|
1 change: 0 additions & 1 deletion
1
...nnection/SerializationTests.Command_contract_has_not_been_broken.approved.SubmitCode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"token": "the-token", | ||
"id": "command-id", | ||
"commandType": "SubmitCode", | ||
"command": { | ||
"code": "123", | ||
|
1 change: 0 additions & 1 deletion
1
...erializationTests.Command_contract_has_not_been_broken.approved.UpdateDisplayedValue.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.