lib/graphql/backwards_compatibility.rb in graphql-1.11.10 vs lib/graphql/backwards_compatibility.rb in graphql-1.12.0
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
module GraphQL
# Helpers for migrating in a backwards-compatible way
+ # Remove this in GraphQL-Ruby 2.0, when all users of it will be gone.
# @api private
module BackwardsCompatibility
module_function
# Given a callable whose API used to take `from` arguments,
# check its arity, and if needed, apply a wrapper so that