lib/graphql/schema/argument.rb in graphql-1.13.0 vs lib/graphql/schema/argument.rb in graphql-1.13.1
- old
+ new
@@ -159,9 +159,11 @@
# None of the early-return conditions were activated,
# so this is authorized.
true
end
+ prepend Schema::Member::CachedGraphQLDefinition::DeprecatedToGraphQL
+
def to_graphql
argument = GraphQL::Argument.new
argument.name = @name
argument.type = -> { type }
argument.description = @description