You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If a date is used for Rollup in the database columns, the value is not returned correctly.
This problem is caused by an error in the type information when mapping RollupValue.
To Reproduce
Steps to reproduce the behavior:
Create a rollup column of date type in the database
Query the database using "NotionClient.Databases.QueryAsync"
page.Properties["rollup_with_date").Rollup.Date.Date.Start is missing(Rollup.Date is null)
Expected behavior
page.Properties["rollup_with_date").Rollup.Date .Date .Start has rollup date value
Describe the bug
If a date is used for Rollup in the database columns, the value is not returned correctly.
This problem is caused by an error in the type information when mapping RollupValue.
To Reproduce
Steps to reproduce the behavior:
page.Properties["rollup_with_date").Rollup.Date.Date.Start
is missing(Rollup.Date is null)Expected behavior
page.Properties["rollup_with_date").Rollup.Date
.Date.Start has rollup date valueAdditional context
I'm using 4.2.0
https://github.com/notion-dotnet/notion-sdk-net/releases/tag/4.2.0
This “DatePropertyValue” should be "Date"
notion-sdk-net/Src/Notion.Client/Models/PropertyValue/RollupPropertyValue.cs
Line 38 in a9e8c60
The text was updated successfully, but these errors were encountered: