The API will not send the description if it was not filled, so I tried to follow the same behaviour when doing toArray().
I couldn't find anything that would make it backwards incompatible, and the fact that all existing tests pass is a good hint I guess.
Let me know if something is missing!
This PR will add the
description
property for a table's property.I don't know how recent Notion added this feature, but I noticed it only one or two months ago.
Here is the API documentation about it, and here is how it looks in Notion's UI:
The API will not send the description if it was not filled, so I tried to follow the same behaviour when doing
toArray()
.I couldn't find anything that would make it backwards incompatible, and the fact that all existing tests pass is a good hint I guess. Let me know if something is missing!