File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 33// See the LICENSE file in the project root for more information.
44
55using System . Runtime . Serialization ;
6+ using System . Text . Json . Serialization ;
67using Elastic . Clients . Elasticsearch ;
8+ using Playground ;
79
810namespace Playground
911{
@@ -16,7 +18,7 @@ public class Person
1618 public string ? FirstName { get ; init ; }
1719 public string ? LastName { get ; init ; }
1820 public int ? Age { get ; init ; }
19- public bool IsDeleted { get ; init ; }
21+ public bool IsDeleted { get ; init ; }
2022 public Routing ? Routing { get ; init ; }
2123
2224 public Id Idv3 => "testing" ;
@@ -37,3 +39,8 @@ public class PersonV3
3739 public Guid SecondaryId { get ; set ; } = Guid . NewGuid ( ) ;
3840 }
3941}
42+
43+
44+
45+ [ JsonSerializable ( typeof ( Person ) ) ]
46+ internal partial class ExampleJsonSerializerContext : JsonSerializerContext ;
You can’t perform that action at this time.
0 commit comments