Skip to content

Releases: testdouble/rspec-graphql_response

v0.5.0: Merge pull request #9 from testdouble/migrate--have_operation-helper

16 Apr 20:52
a227d78
Compare
Choose a tag to compare

Changes

  • Removed deprecated operation helper.
  • Renamed have_operation to have_field.

Adds response_data

16 Mar 16:37
d4c4736
Compare
Choose a tag to compare

Features

The response_data helper will dig through a graphql response, through the outer hash, into the response data for an operation, and through any and all layers of hash and array.

See the documentation for more details.

Rename graphql_query helper

11 Mar 14:01
0ef7c7d
Compare
Choose a tag to compare

Why?

The helper graphql_query was causing some confusion in regards to its use. Naming the helper with _query lead to an association that its use was meant for GraphQL query operations and could not also be used for a mutation.

See the release notes for more details.

GraphQL Configuration DSL & Other Fixes

02 Mar 16:13
Compare
Choose a tag to compare

added a new DSL for graphql query, context and variables, a new matcher, several new helpers, and greatly improved documentation.

see the release notes for full description of what has changed