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

After upgrading to v2, remote relationships are now represented as single values rather than arrays #7284

@naman515

Description

@naman515

Previously, we were on v1.3.1 and we had a schema like

type A {
    id: ID!
    Bs: [B!]!
}


type B {

}

type remote_query_root {
    A_Bs(id: ID!): [B!]!
}

After upgrading to v2.0.3 though, our schema looks like

type A {
    id: ID!
    Bs: B
}


type B {

}

type remote_query_root {
    A_Bs(id: ID!): [B!]!
}

I don't see any configuration that would allow us to specify whether the remote relationship is an object or an array relationship, but since the type hasn't changed in the remote schema, I'm not sure why it changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    k/bugSomething isn't workingp/highcandidate for being included in the upcoming sprint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions