Feature Request: Support `gql()` function in Python files
Open
lsp-server
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description
[Ariadne](https://ariadnegraphql.org/) is a GraphQL server implementation for Python that is gaining traction. It uses a Schema-first approach. It would be helpful if VSCode GraphQL could support syntax highlighting of inline SDL strings in Python code like it does for Javascript.
Instead of the `gql` template tag, in Python you would use the `gql()` function.
Note that Python supports both `'''hello world'''` and `"""hello world"""` for multi-line strings.
Example:
```py
from ariadne import gql
types = gql('''
type Query {
me: User
}
type User {
id: ID
name: String
}
''')
```
Contributor guide
Assessment
This issue has not been assessed yet.