Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Reading Status Property Configs From Databases #131

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

djs-CS
Copy link

@djs-CS djs-CS commented Apr 17, 2023

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.

@jomei
Copy link
Owner

jomei commented May 9, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants