Description
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
Additional 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"
Metadata
Metadata
Assignees
Labels
No labels