We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Here's one possible pattern, this discussion:
# spec/graph/mutations/do_thing_spec.rb query = <<~GQL mutation doThing( $foo: String $bar: String ... GQL result = Schema.execute query, variables: { 'foo' => foo, 'bar' => bar } data = result.to_h['data']['doThing']['widget'] expect(data).to include( 'id' => 1, 'value' => bloop, 'stuff' => { 'name' => name, 'id' => 2} )
Home