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

Unknown directive 'appendNode' #354

@quant-daddy

Description

@quant-daddy

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions