summaryrefslogtreecommitdiff
path: root/rubocop/cop/graphql/resolver_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/graphql/resolver_type.rb')
-rw-r--r--rubocop/cop/graphql/resolver_type.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/rubocop/cop/graphql/resolver_type.rb b/rubocop/cop/graphql/resolver_type.rb
index 1209c5dbc6b..e9fa768fd3e 100644
--- a/rubocop/cop/graphql/resolver_type.rb
+++ b/rubocop/cop/graphql/resolver_type.rb
@@ -7,7 +7,7 @@
# # bad
# module Resolvers
# class NoTypeResolver < BaseResolver
-# field :some_field, GraphQL::STRING_TYPE
+# field :some_field, GraphQL::Types::String
# end
# end
#
@@ -16,7 +16,7 @@
# class WithTypeResolver < BaseResolver
# type MyType, null: true
#
-# field :some_field, GraphQL::STRING_TYPE
+# field :some_field, GraphQL::Types::String
# end
# end