rspec-graphql_matchers icon indicating copy to clipboard operation
rspec-graphql_matchers copied to clipboard

.Legacy `.to_graphql` objects are deprecated and will be removed in GraphQL-Ruby 2.0.

Open anark opened this issue 2 years ago • 0 comments

.Legacy .to_graphql objects are deprecated and will be removed in GraphQL-Ruby 2.0. Remove .to_graphql to use a class-based definition instead.

  it { is_expected.to have_field(:id).of_type('ID!') }

Backtrace

/spec-graphql_matchers-1.3.1/lib/rspec/graphql_matchers/have_a_field.rb:83:in `actual_field`

anark avatar Dec 24 '21 20:12 anark