cordiverse / minato

Type Driven Database Framework.
MIT License
27 stars 12 forks source link

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

Closed Hieuzest closed 9 months ago

Hieuzest commented 9 months ago
database.get('foo', { 'a.b': '...' })
//                      ^

Currently typescript complains about the field key.

The problem occurs in two cases: