Auth rule with other directives


I have a type with @secret and @auth rule

type Credentials @secret(field: "secretKey") @auth(
    query: { rule:  "{$ORKADMIN: { eq: \"True\" } }"}
) {
    accessKey: String! @search(by: [hash]) @id
    description: String! @search(by: [term, hash])
    forUser: User!
    lastUsed: DateTime

When I run a checkCredentialsPassword query it fails with the following meesage

“message”: “Dgraph query failed because Dgraph execution failed because line 3 column 11: Expected Left round brackets. Got: lex.Item [6] “{” at 3:11”

This is the request (I hide the real credentials with xxx):

query MyQuery {
  checkCredentialsPassword(accessKey: "XXXXX", secretKey: "XXXX") {

Duplicate of: Combining @secret and @auth directives

I could reproduce this on latest master. I am accepting this as a bug. The reason it is failing because it is trying to apply query auth rules on checkCredentialsPassword query.