facebook / facebook/relay

Feature Request: exportable connection keys for ConnectionHandler.getConnectionId

Open
#4,239 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Currently, the key field for getConnectionId takes a plain string value that isn't generated. This requires the user to define the key, which can be quietly invalidated on a connection deletion or name change, and create subtle bugs.

It would be nice if it were possible to import the connection key value from the defining operation's generated file, so an invalidated key would cause an immediate and obvious error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.