apollo-language-server 0.7.0

A GraphQL language server with first-class support for Apollo Federation
Documentation
---
source: crates/language-server-core/src/diagnostics/mod.rs
expression: "collect_diagnostic_comparisons(&expected_errors, &source_texts,\nget_base_text())"
---
---- Input Text ----

type Query {
  hello: String
}

typ

---- Editor ----

type Query {
  hello: String
}

t̰y̰p̰

---- apollo-compiler ----

Error: syntax error: expected definition
   ╭─[ test.graphql:5:1 ]
   │
 5 │ typ
   │ ─┬─  
   │  ╰─── expected definition
───╯


---- Input Text ----

type Query {
  hello: String
}

typ 

---- Editor ----

type Query {
  hello: String
}

t̰y̰p̰ 

---- apollo-compiler ----

Error: syntax error: expected definition
   ╭─[ test.graphql:5:1 ]
   │
 5 │ typ
   │ ─┬─  
   │  ╰─── expected definition
───╯


---- Input Text ----

type Query {
  hello: String
}

typ


---- Editor ----

type Query {
  hello: String
}

t̰y̰p̰
 

---- apollo-compiler ----

Error: syntax error: expected definition
   ╭─[ test.graphql:5:1 ]
   │
 5 │ typ
   │ ─┬─  
   │  ╰─── expected definition
───╯