Hasura 远程架构对象不一致:重复的远程字段“集合”

问题描述 投票:0回答:1

我尝试向 hasura 添加多个远程模式,但收到以下错误。

第一个架构是:http://host.docker.internal:3000/shop-api

第二个架构是:http://host.docker.internal:3000/admin-api

hasura 似乎在 2 个模式中找到了“集合”字段,并拒绝添加第二个模式。

为什么 hasura 没有用名称来隔离每个模式?

请帮忙。

谢谢你


[
    {
        "definition": {
            "definition": {
                "timeout_seconds": 60,
                "url": "http://host.docker.internal:3000/admin-api",
                "headers": [],
                "forward_client_headers": true
            },
            "remote_relationships": [],
            "name": "Vandure-admin",
            "permissions": [],
            "comment": ""
        },
        "reason": "Inconsistent object: Duplicate remote field 'collections'",
        "name": "remote_schema Vandure-admin",
        "type": "remote_schema"
    }
]
graphql schema hasura
1个回答
0
投票

这里同样的问题。我正在尝试找出如何绕过这个问题,但我还没有成功。

© www.soinside.com 2019 - 2024. All rights reserved.