You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no other issue that already describes my problem.
Describe the Bug
In #9965, filter types were adjusted but unfortunately it rendered some filters usable.
To Reproduce
Assume we have a collection test with a string field code. Then the following filters now give type errors:
client.items('test').readMany({filter: {code: {_in: ['foo','bar']}}})// string[] not assignable to stringclient.items('test').readMany({filter: {code: {_null: true}}})// true not assignable to string
There are probably more filters that fail since the mentioned change.
Errors Shown
No response
What version of Directus are you using?
9.1.2
What version of Node.js are you using?
16.5.0
What database are you using?
Postgres 13
What browser are you using?
Chrome
What operating system are you using?
Linux
How are you deploying Directus?
locally
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the Bug
In #9965, filter types were adjusted but unfortunately it rendered some filters usable.
To Reproduce
Assume we have a collection
test
with a string fieldcode
. Then the following filters now give type errors:There are probably more filters that fail since the mentioned change.
Errors Shown
No response
What version of Directus are you using?
9.1.2
What version of Node.js are you using?
16.5.0
What database are you using?
Postgres 13
What browser are you using?
Chrome
What operating system are you using?
Linux
How are you deploying Directus?
locally
The text was updated successfully, but these errors were encountered: