Skip to content
Snippets Groups Projects

Remove calls to deprecated `to_graphql`

Merged Brett Walker requested to merge bw-graphql-remove-to_graphql into master
All threads resolved!

What does this MR do and why?

.to_graphql is deprecated to GraphQL-Ruby 2.0. While our current code base, which is user 1.11.x of the graphql gem is not seeing this deprecation message, we're seeing it in !27536 (merged) as we're upgrading the gem.

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.

This MR removes what is possible now, to minimize changes in !27536 (merged).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading