Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Unknown directive 'appendNode' #354

Open
quant-daddy opened this issue May 9, 2021 · 1 comment
Open

Unknown directive 'appendNode' #354

quant-daddy opened this issue May 9, 2021 · 1 comment

Comments

@quant-daddy
Copy link

quant-daddy commented May 9, 2021

I am trying to use appendNode directive on a field but I'm getting Unknown directive @appendNode error. Is this directive currently supported in typescript compiler?

mutation MessagesPanelUserChannelMutation(
  $input: CreateUserChannelInput!
) {
  createUserChannel(input: $input) {
    __typename
    ... on ErrorMessage {
      message
    }
    ... on CreateUserChannelSuccess {
      channel @appendNode(
          connections: ["ChannelNav_viewerChannels"]
          edgeTypeName: "ChannelEdge"
        ) {
        id
      }
    }
  }
}

Versions:

"relay-compiler-language-typescript": "^14.0.0",
"relay-config": "^11.0.2",
"react-relay": "^11.0.1"
@sibelius
Copy link
Contributor

sibelius commented Jun 7, 2021

it is working well for me

can you provide more info on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants