dinoql
dinoql copied to clipboard
TypeScript support
Hi, this project looks awesome!
I would really love to use this project with TypeScript. I see two main features:
- Typing existing functions (easy part)
- Make queries type sensetive
data: {
users: {
name: string
}
}
const users = dinoql(data)`
users {
name
}
`
And then we have users
typed as { name: string }[]