class GraphQL::Introspection::FieldType
Public Instance Methods
args(include_deprecated:)
click to toggle source
# File lib/graphql/introspection/field_type.rb, line 21 def args(include_deprecated:) args = @context.warden.arguments(@object) args = args.reject(&:deprecation_reason) unless include_deprecated args end
is_deprecated()
click to toggle source
# File lib/graphql/introspection/field_type.rb, line 17 def is_deprecated !!@object.deprecation_reason end