这是indexloc提供的服务,不要输入任何密码
Skip to content

Hasura v2.1.1 remote schema customize type prefix error when use it as an argument #7977

@vuongxuongminh

Description

@vuongxuongminh

Version Information

Server Version: v2.1.1

Environment

OSS

What is the expected behaviour?

I have remote schema with customized type prefix: api_, when I execute this query:

query CallApi($arg: api_client_args) {
    api_client(args: $args) {
          id
    }
}

The server will cause an error with the message:

"message": "variable "args" is declared as api_client_args, but used where client_args is expected"

In beta version v2.1.0-beta.1 it work fine.

How to reproduce the issue?

  1. Add remote schema in console UI
  2. Modify remote schema had added before with type prefix
  3. Create graphql query have input args have type prefixed and execute.

Metadata

Metadata

Labels

k/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions