Skip to content

Commit 8d4fedd

Browse files
committed
Remove Message as not polymorphic
1 parent 6bb3279 commit 8d4fedd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

dotnet/src/webdriver/BiDi/Communication/Json/BiDiJsonSerializerContext.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
namespace OpenQA.Selenium.BiDi.Communication.Json;
2424

2525
#region https://github.com/dotnet/runtime/issues/72604
26-
//[JsonSerializable(typeof(MessageSuccess))]
27-
[JsonSerializable(typeof(EmptyResult))]
28-
[JsonSerializable(typeof(MessageError))]
29-
[JsonSerializable(typeof(MessageEvent))]
30-
3126
[JsonSerializable(typeof(Modules.Script.EvaluateResultSuccess))]
3227
[JsonSerializable(typeof(Modules.Script.EvaluateResultException))]
3328

@@ -72,7 +67,7 @@ namespace OpenQA.Selenium.BiDi.Communication.Json;
7267
#endregion
7368

7469
[JsonSerializable(typeof(Command))]
75-
[JsonSerializable(typeof(Message))]
70+
[JsonSerializable(typeof(EmptyResult))]
7671

7772
[JsonSerializable(typeof(Modules.Session.StatusCommand))]
7873
[JsonSerializable(typeof(Modules.Session.StatusResult))]

0 commit comments

Comments
 (0)