Fix GraphQL-Ruby type mismatch deprecation warnings

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to Solve

GraphQL-Ruby is emitting deprecation warnings about mismatched types in our GraphQL schema. These warnings appear in error logs and create significant noise, making it more difficult to identify actual incidents.

Current Behavior

The following deprecation warnings are being logged:

Learn about migrating here: https://graphql-ruby.org/api-doc/2.5.11/GraphQL/Schema.html#allow_legacy_invalid_return_type_conflicts-class_method
This will return an error in future GraphQL-Ruby versions, as per the GraphQL specification
GraphQL-Ruby encountered mismatched types in this query

Expected Behavior

  • No deprecation warnings in logs related to type mismatches
  • Schema complies with GraphQL specification
  • Code is compatible with future GraphQL-Ruby versions
Edited by 🤖 GitLab Bot 🤖