facebook / facebook/relay

Export operation definitions

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

Description

When using persisted queries but working in a FE-only repo, we end up without the query text available for our mock graphql setup.

I saw [this recent commit: Add a subcommand to dump definitions to file](https://github.com/facebook/relay/commit/1ae14fe737013ac41a105a23a84ce187930fab15).

We're [doing a very similar thing in our fork](https://github.com/atlassian-forks/relay/commit/322a3fb05b478b041651a56d54a1337ed60be669)

This is a gentle request to externalise that subcommand.

We used the query id, but it would also be fine to use the name since there's no risk of versioning conflation in this situation.

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.