-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix date formula value is always null 🐛
- Loading branch information
1 parent
067a89a
commit b3cc030
Showing
5 changed files
with
199 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 134 additions & 0 deletions
134
.../Notion.UnitTests/data/databases/Fix123QueryAsyncDateFormulaValueReturnsNullResponse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
{ | ||
"object": "list", | ||
"results": [ | ||
{ | ||
"object": "page", | ||
"id": "50b4321c-afc1-4468-b278-5a578643989c", | ||
"created_time": "2021-05-22T18:30:00.000Z", | ||
"last_edited_time": "2021-09-09T05:49:00.000Z", | ||
"cover": null, | ||
"icon": null, | ||
"parent": { | ||
"type": "database_id", | ||
"database_id": "f86f2262-0751-40f2-8f63-e3f7a3c39fcb" | ||
}, | ||
"archived": false, | ||
"properties": { | ||
"Column": { | ||
"id": "B[\\E", | ||
"type": "rollup", | ||
"rollup": { | ||
"type": "array", | ||
"array": [] | ||
} | ||
}, | ||
"Property": { | ||
"id": "Cf<z", | ||
"type": "rich_text", | ||
"rich_text": [] | ||
}, | ||
"DateProp": { | ||
"id": "E:|Y", | ||
"type": "date", | ||
"date": { | ||
"start": "2021-05-24", | ||
"end": "2021-05-27" | ||
} | ||
}, | ||
"FormulaProp": { | ||
"id": "JwY^", | ||
"type": "formula", | ||
"formula": { | ||
"type": "date", | ||
"date": { | ||
"start": "2021-06-28", | ||
"end": null | ||
} | ||
} | ||
}, | ||
"Rock": { | ||
"id": "QhVM", | ||
"type": "rich_text", | ||
"rich_text": [ | ||
{ | ||
"type": "text", | ||
"text": { | ||
"content": "Rolling Stone", | ||
"link": null | ||
}, | ||
"annotations": { | ||
"bold": false, | ||
"italic": false, | ||
"strikethrough": false, | ||
"underline": false, | ||
"code": false, | ||
"color": "default" | ||
}, | ||
"plain_text": "Rolling Stone", | ||
"href": null | ||
} | ||
] | ||
}, | ||
"Related to sample table (Property)": { | ||
"id": "VQ}{", | ||
"type": "relation", | ||
"relation": [ | ||
{ | ||
"id": "e4f62d6f-b5b9-4c41-b073-b5fe833b6249" | ||
} | ||
] | ||
}, | ||
"Column 1": { | ||
"id": "Vure", | ||
"type": "people", | ||
"people": [ | ||
{ | ||
"object": "user", | ||
"id": "5e37c1b4-630f-4e81-bd6b-296af31e345f", | ||
"name": "Vedant Koditkar", | ||
"avatar_url": "https://lh3.googleusercontent.com/a-/AOh14Gg4lnfwJviST_tKZZpMfKrgmjp8wRzPBg9ec6sG7w=s100", | ||
"type": "person", | ||
"person": { | ||
"email": "[email protected]" | ||
} | ||
}, | ||
{ | ||
"object": "user", | ||
"id": "590693f3-797f-4970-98ff-7284106393e5", | ||
"name": "Test", | ||
"avatar_url": null, | ||
"type": "bot", | ||
"bot": {} | ||
} | ||
] | ||
}, | ||
"Name": { | ||
"id": "title", | ||
"type": "title", | ||
"title": [ | ||
{ | ||
"type": "text", | ||
"text": { | ||
"content": "Nice", | ||
"link": null | ||
}, | ||
"annotations": { | ||
"bold": false, | ||
"italic": false, | ||
"strikethrough": false, | ||
"underline": false, | ||
"code": false, | ||
"color": "default" | ||
}, | ||
"plain_text": "Nice", | ||
"href": null | ||
} | ||
] | ||
} | ||
}, | ||
"url": "https://www.notion.so/Nice-50b4321cafc14468b2785a578643989c" | ||
} | ||
], | ||
"next_cursor": null, | ||
"has_more": false | ||
} |