facebook / facebook/relay

Do not persist test operations

Open
#4,412 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

We are using persisted queries, but currently our test operations (operations with `@relay_test_operation` in `*.test.*` files) are also persisted.
I would expect the `testPathRegex` config option to prevent the operations in those matched test files from being persisted.
Is there some other mechanism to prevent test query operations from being persisted? I don't see a reason why they should be persisted.

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.