apollo-language-server 0.6.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, None,)"
---
---- Input Text ----

type Query {
  field: String

---- Editor ----

type Query {
  field: String ̰

---- apollo-compiler ----

Error: syntax error: expected R_CURLY, got EOF
   ╭─[ test.graphql:2:16 ]
   │
 2 │   field: String
   │                │ 
   │                ╰─ expected R_CURLY, got EOF
───╯


---- Input Text ----

type Query {
  field: String 

---- Editor ----

type Query {
  field: String  ̰

---- apollo-compiler ----

Error: syntax error: expected R_CURLY, got EOF
   ╭─[ test.graphql:2:17 ]
   │
 2 │   field: String
   │                 │ 
   │                 ╰─ expected R_CURLY, got EOF
───╯


---- Input Text ----

type Query {
  field: String


---- Editor ----

type Query {
  field: String ̰
 

---- apollo-compiler ----

Error: syntax error: expected R_CURLY, got EOF
   ╭─[ test.graphql:2:17 ]
   │
 2 │   field: String
   │                 │ 
   │                 ╰─ expected R_CURLY, got EOF
───╯