[lsp-server] `graphql.vscode-graphql-syntax`: Support Python f-strings
Open
enhancement
lsp-server
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description
## Current Behavior (if applicable)
See the following query in Python:
## Desired Behavior
How it looks like without f-strings (not perfect, but good enough, applygin the same style to f-strings would work):
Using f-strings and/or format allows me to statically check that all dynamic parts of the query are passed in (using Ruff or a type-checker)
## Additional context
No graphql configs.
I do consider switching to GraphQL-style variables (`$filter_query`), but then I'd loose helpful static tooling and need to add an extra query parser for variable interpolation.
Contributor guide
Assessment
This issue has not been assessed yet.