Open
Description
Describe the bug
When I use Filter::rawFilter to query a Notion database on a status property type, a validation error is returned.
To Reproduce
Set the filter and send the query:
$filters = new Collection();
$filters->add(Filter::rawFilter("Status",
["status" => [Operators::EQUALS => "Ready"]]
));
$notion = new Notion($access_token)
$rows = $notion->database($id)
->filterBy($filters)
->sortBy($sortings)
->query()
->asCollection();
Expected behavior
A filtered results collection is returned.
Exceptions
Trace can be found here: https://flareapp.io/share/pPv1vqYm#F58
Additional context