timqian/gql-generator

Cannot use unicode emojies

Offen

#12 geöffnet am 30.01.2019

 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)JavaScript (94 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (388 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hei, unicode emojies in a GraphQL schema such as 🦄 makes the following error :

GraphQLError: Syntax Error: Cannot parse the unexpected character <EOF>.

# Sample schema 🦄
type Query {
  user(id: Int!): User!
}

type User {
  id: Int!
  username: String!
  email: String!
  createdAt: String!
}

Perhaps updating the graphql dependency to its latest version could fix the issue.

Contributor Guide