notionapi icon indicating copy to clipboard operation
notionapi copied to clipboard

Support Reading Status Property Configs From Databases

Open djs-CS opened this issue 1 year ago • 1 comments

Background

The Notion API currently has no or limited support for creating or updating status properties. Currently, there is no support for parsing status property configs.

Proposal

Add support for parsing data into StatusPropertyConfig to allow users to work with Notion DB structures.

Concerns & Limitations

I'm still unclear on the best way to add support for parsing the status property type into a StatusPropertyConfig while also preventing the StatusPropertyConfig from being used as an input for the DatabaseClient.Create() and DatabaseClient.Update() methods.

djs-CS avatar Apr 17 '23 23:04 djs-CS

Hi, @djs-CS ! Thank you for your PR!

Could you tell me, what will happen if you pass non empty StatusPropertyConfig into Database.Create() request? Validation error?

jomei avatar May 09 '23 13:05 jomei