Add mutation support for connect / disconnect with array relationships

This commit is contained in:
Vikram Rangnekar
2020-01-26 01:10:54 -05:00
parent 2d466bfb12
commit 52f3b1c7a2
7 changed files with 218 additions and 54 deletions

View File

@ -167,11 +167,6 @@ func parseSelectionSet(gql []byte) (*Operation, error) {
return nil, fmt.Errorf("invalid '%s' found after closing '}'", p.current())
}
// for i := p.pos; i < len(p.items); i++ {
// fmt.Printf("2>>>> %#v\n", p.items[i])
// }
//return nil, fmt.Errorf("unexpected token")
lexPool.Put(l)
return op, err