### 🔖 Feature description As a developer, I'd like to be able to have my IDE suggest/autocomplete `attribute` and check the type of `value` when creating a `Query`. ### 🎤 Pitch Using the web SDK and TypeScript as an example, it would be cool to be able to do: ```typescript type Todo = Models.Document & { content: string; isComplete: boolean; } Query.equal<Todo>(" ``` and then have my IDE suggest: <img width="303" alt="image" src="https://user-images.githubusercontent.com/1477010/197234444-f5b9888c-4817-4313-95e1-10f4d18d0c87.png"> Then, if I pass a string into the value, it would show an error/warning because it should be a boolean. <img width="643" alt="image" src="https://user-images.githubusercontent.com/1477010/197234732-7e25a18a-77f5-43ac-a111-7381dc47f6b1.png"> <img width="879" alt="image" src="https://user-images.githubusercontent.com/1477010/197234833-b336ecb6-f503-4181-8b42-5384bd8266f2.png"> ### 👀 Have you spent some time to check if this issue has been raised before? - [X] I checked and didn't find similar issue ### 🏢 Have you read the Code of Conduct? - [X] I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)
Activity
Suven-p commentedon May 5, 2023
@stnguyen90
Kind of hacky and not my code but check this out:
Typescript Playground
MohammedElMO commentedon Sep 17, 2025
it gonna be a useful feature upvoted