monaco-graphql recursive variables not working
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.9k
- Avg merge
- 22h 45m
- Merged PRs (30d)
- 70
Description
schema def:
```
schema {
query: query_root
}
input string_options {
_eq: String
_ilike: String
}
type issues {
name: String
}
input issues_where_input {
_and: [issues_where_input!]
name: string_options
}
type query_root {
issues(where: issues_where_input): [issues!]!
}
```
query:
```
query Example(
$where: issues_where_input! = {}
) {
issues(where: $where) {
name
}
}
```
note the `_and` in the `issues_where_input`. when it's there, the variables json failed to work properly and the whole monaco intellisense based on the query variables is broken.
Not sure if this meant to be working or it's a known limitation of nested json schema generation behind the scenes
Contributor guide
Assessment
This issue has not been assessed yet.