When I paste the below graphql schema into Rafel (Schema | Bulk Edit ) I get the following error:
Error
Could not alter schema: while lexing union Result = Book | Author type Book { title: String } type Author { name: String } type Query { search(contains: String): [Result] } at line 1 column 13: Invalid schema. Unexpected =
Schema
union Result = Book | Author
type Book {
title: String
}
type Author {
name: String
}
type Query {
search(contains: String): [Result]
}