Skip to content

Not supporting the newly added "Verification property" in the Notion Wiki database #368

@rkttu

Description

@rkttu

Describe the bug
A recent new Notion feature is the ability to turn the top of the document into a wiki database with a special type of database. Unlike other common databases, this adds a special attribute called "�verification", which currently doesn't exist in Notion.Net, causing JSON interpretation errors.

To Reproduce
Steps to reproduce the behavior:

  1. Turn one of the top articles into a wiki article.
  2. Add the Notion app integration to any article in the wiki database.
  3. Try calling the RetrieveAsync method with the page ID you added.
    for example, "await client.Pages.RetrieveAsync("...”);".
  4. Newtonsoft.Json.JsonSerializationException throwed. "Error converting value "verification" to type 'Notion.Client.PropertyValueType'. Path

Expected behavior
The Notion.Client.PropertyValueType.Verification enumeration constant member must exist, and no JSON interpretation errors should appear at this stage.

Screenshots
스크린샷 2023-07-20 오후 3 18 41

Desktop:

  • OS: macOS Ventura 13.4.1 (c)
  • Browser: Google Chrome 114.0.5735.198 (Official Build) (x86_64)
  • NuGet Version: Notion.Net 4.1.0 (via NuGet.org)
  • .NET Version: 7.0.304 (x86_64, macOS)

Additional context
I think you should look at other attributes as well, such as AI summarization.

With Notion promising big changes in the future, I expect to see even bigger changes in property types. Specifying property types as enumeration constants seems inefficient, as it requires Notion to release a package every time it adds a new property type. I'd like to see a more flexible way to do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions