File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
third_party/dotnet/devtools/src/generator/Templates Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,13 @@ namespace {{rootNamespace}}
4949 }
5050 }
5151
52- [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] // Placeholder in case nothing gets generated
5352{{ #each commands }}
5453 [global::System.Text.Json.Serialization.JsonSerializable(typeof({{ FullTypeName }} ))]
5554 [global::System.Text.Json.Serialization.JsonSerializable(typeof({{ FullResponseTypeName }} ))]
5655{{ /each }}
56+ {{ #each events }}
57+ [global::System.Text.Json.Serialization.JsonSerializable(typeof({{ fullTypeName }} ))]
58+ {{ /each }}
59+ [global::System.Text.Json.Serialization.JsonSourceGenerationOptions(Converters = typeof(OpenQA.Selenium.DevTools.Json.StringConverter))]
5760 internal sealed partial class {{ protocolVersion }} JsonSerializerContext : global::System.Text.Json.Serialization.JsonSerializerContext;
5861}
You can’t perform that action at this time.
0 commit comments