relay-compiler-language-typescript
relay-compiler-language-typescript copied to clipboard
Unknown directive 'appendNode'
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"
it is working well for me
can you provide more info on this?