File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ public JsonSerializerSettings SerializerSettings
70
70
{
71
71
get
72
72
{
73
+ if ( options == null )
74
+ options = new ClientOptions ( ) ;
75
+
73
76
return new JsonSerializerSettings
74
77
{
75
78
ContractResolver = new CustomContractResolver ( ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace Postgrest
8
8
/// </summary>
9
9
public class ClientOptions
10
10
{
11
- public string Schema { get ; set ; }
11
+ public string Schema { get ; set ; } = "public" ;
12
12
public System . Globalization . DateTimeStyles DateTimeStyles = System . Globalization . DateTimeStyles . AdjustToUniversal ;
13
13
public string DateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFK" ;
14
14
public Dictionary < string , string > Headers { get ; set ; } = new Dictionary < string , string > ( ) ;
You can’t perform that action at this time.
0 commit comments