-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Using rawFilter on a status property type returns a validation error #90
Comments
Thanks for pointing this out, I could reproduce the error. |
No worries. And thanks so much for looking into this. |
hi @mechelon , do you think this is something that will be supported by your next release? how can we help you for supporting more recent api endpoint? |
Hi @ren0v, We have a new test implementation to better test real API-Endpoint and not faked content, however it will take some time to rewrite all existing tests towards that. Hopefully we can finish that up at around August. |
You should write at notice this i your README, so we don't spend time on debugging into this. 🤔 |
Is there any vision on when this will get fixed? Would like to use it. |
Any update on this @johguentner? |
This appears to be impacting the use of select as well. Multi Select works. |
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
The text was updated successfully, but these errors were encountered: