get-convex / get-convex/convex-react-query
Ugly type error when string provided but expecting ID
Open
- Dominant language
- TypeScript
- Stars
- 41
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
The overload? conditional type? seems to be making this error message way more opaque than necessary

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the type error shown in the issue when a string is supplied where an ID is expected. Inspect the overload and conditional type involved, then determine what a clearer diagnostic should communicate. Done means the same invalid call produces an error that is substantially easier to understand.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100