Skip to content

Instantly share code, notes, and snippets.

@BjRo
Created December 4, 2017 09:57
Show Gist options
  • Save BjRo/a3de78839c59537d74586020e5d5808b to your computer and use it in GitHub Desktop.
Save BjRo/a3de78839c59537d74586020e5d5808b to your computer and use it in GitHub Desktop.
Parser errors after upgrade to 1.3.3
[error] sangria.parser.SyntaxError: Syntax error while parsing GraphQL query. Invalid input ""/test") {\n}", expected ValueConst, ArgumentConst, DirectiveConst or InputValueDefinition (line 7, column 32):
[error] input MyResolver @httpGet(url: "/test") {
[error] ^ (QueryParser.scala:433)
@BjRo
Copy link
Author

BjRo commented Dec 4, 2017

It looks like the behaviour around imports completely changed. Previously something like this was possible. That doesn't seem to be the case anymore.

input IdlResolver1 @httpGetBatched(url: "https://www.batched.com", id: 2) {}

input IdlResolver2 @httpGetBatched(url: "https://www.batched.com", id: 3) {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment