The AleksT
Convex Community3y ago
2 replies
The Aleks

Type error when index is on an optional field

I hit something similar today: I get a type error if the index is on a field that's optional.

It still works, but the typescript compiler complains in the q.eq("myOptionalField", value)
Was this page helpful?