Skip to content
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

Feature(ts): Querying nested fields with accurate type hints #72

Closed
Hieuzest opened this issue Jan 30, 2024 · 0 comments
Closed

Feature(ts): Querying nested fields with accurate type hints #72

Hieuzest opened this issue Jan 30, 2024 · 0 comments

Comments

@Hieuzest
Copy link
Contributor

database.get('foo', { 'a.b': '...' })
//                      ^

Currently typescript complains about the field key.

The problem occurs in two cases:

  • nested fields, json etc.
  • joined selection(cause we need to access fields through joined table)
@shigma shigma closed this as completed in 6621d2c Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant