Describe the bug
In Code Snippet the object queryResults has no ** Properties** property so is not compiling and providing the right function.
changing the class back to Page (instead of an interface) makes it work.
namespace Notion.Client
{
// ReSharper disable once ClassNeverInstantiated.Global
// BUG: public class DatabaseQueryResponse : PaginatedList
public class DatabaseQueryResponse : PaginatedList<Page>
{
[JsonProperty("database")]
public Dictionary<string, object> Database { get; set; }
}
}
Additional context
Maybe the code intension was to introduce an abstract interface.