Invalid use of comma

Hi @amaster507 ,

I am able to reproduce this error with the below schema and query on version v20.11.0-11-gb36b4862
Schema:

type Post {                                                                     
    title: String! @search(by: [term, fulltext])                                
    post1: [Post1]                                                              
}                                                                               
                                                                                
type Post1 {                                                                    
    id: ID!                                                                     
    name: String!                                                               
}

Query:

query{
  b1: queryPost{
    title
    post1(filter:{id:"0x27277"}){
      name
    }
  }
}

I also tried reproducing this on latest branch release/v21.03, but couldn’t . This has been fixed with coercing of ID filters to list. I also checked the DQL query formed for this GraphQL query and it was well formed on release/v21.03 .

There is no way to do this in slash currently. On community editions, you may try running dgraph alpha with -v=3 flag. It will then also show the converted DQL query for every GraphQL query / mutation in the logs.