8000 Revert "Issue: 237 - Made Date Property Nullable" · notion-dotnet/notion-sdk-net@abd0ea1 · GitHub
[go: up one dir, main page]

Skip to content

Commit abd0ea1

Browse files
committed
Revert "Issue: 237 - Made Date Property Nullable"
This reverts commit 3f80b30.
1 parent 3f80b30 commit abd0ea1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Src/Notion.Client/Models/PropertyValue/DatePropertyValue.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public class DatePropertyValue : PropertyValue
1313
/// <summary>
1414
/// Date
1515
/// </summary>
16-
[JsonProperty("date", NullValueHandling = NullValueHandling.Include)]
17-
public Date? Date { get; set; }
16+
[JsonProperty("date")]
17+
public Date Date { get; set; }
1818
}
1919

2020
/// <summary>

Src/Notion.Client/Notion.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<VersionPrefix>2.2.3-preview</VersionPrefix>
55
<TargetFramework>netstandard2.0</TargetFramework>
6-
<LangVersion>8.0</LangVersion>
6+
<LangVersion>7.3</LangVersion>
77

88
<PackageId>Notion.Net</PackageId>
99
<Authors>Vedant Koditkar</Authors>

0 commit comments

Comments
 (0)
0