mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 02:34:28 +11:00
pokemon example is working
This commit is contained in:
@@ -217,7 +217,7 @@ const parseQuery = async (handler, tokens, pos, typeGraph, parent = null) => {
|
||||
{ typeName: queryType, scalars: scalarFields, context: result, match: match } //parent object (this one)
|
||||
);
|
||||
|
||||
return [tokens[pos2], queryResult, match]; //HACK: match piggybacking on the tuple
|
||||
return [tokens[pos2 - 1], queryResult, match]; //HACK: match piggybacking on the tuple
|
||||
});
|
||||
|
||||
pos = eatBlock(tokens, pos + 2);
|
||||
|
||||
Reference in New Issue
Block a user