graphile / graphile/crystal

Create fuzz testing for defer/stream

Open
#2,500 0 comments 0 reactions 0 assignees View on GitHub
✅ tests 🙏 help-wanted
Dominant language
TypeScript
Stars
12.9k
Forks
625
Avg merge
5h 23m
Merged PRs (30d)
24

Description

Looking at the schema it should be possible to determine all the positions where `@stream` is valid (and `@defer` is valid across arbitrary fragments generally), and we have snapshots of what the final data should be - so we should be able to run some "fuzzing" where we randomly manipulate our queries to add defer/stream and then play back the incremental delivery stream to build the final payload and compare that to the expected data - it should _always_ match unless errors are expected.

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.