Skip to content

Commit

Permalink
docs(changeset): In addition to GraphQLArgs, grafast now accepts …
Browse files Browse the repository at this point in the history
…`resolvedPreset` and `requestContext`; if both of these are set then `grafast` will perform `hookArgs` for you, this makes running tests a lot less boiler-plate-y (you no longer need to `parse`/`validate`/`execute` - just `grafast`).
  • Loading branch information
benjie committed Mar 7, 2023
1 parent 4321664 commit 4c2b7d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/fresh-starfishes-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"grafast": patch
---

In addition to `GraphQLArgs`, `grafast` now accepts `resolvedPreset` and
`requestContext`; if both of these are set then `grafast` will perform
`hookArgs` for you, this makes running tests a lot less boiler-plate-y (you no
longer need to `parse`/`validate`/`execute` - just `grafast`).

0 comments on commit 4c2b7d1

Please sign in to comment.