notion-dotnet / notion-sdk-net

A Notion SDK for .Net
MIT License
186 stars 46 forks source link

Remove Enum used in Response models #223

Closed KoditkarVedant closed 2 years ago

KoditkarVedant commented 2 years ago

As we have seen some issues being logged just of because there are new types are being added by API in which case the properties which are being parsed into Enum are failing. This creates blocker for the user of the library which is quite annoying. They need to wait for next release or write their own implementation to fetch the data. To avoid this inconvenience we are planning to drop Enum types added in Response model to string type.

We are not going to remove Enum which will not be changing like type.

Related announcement: #222