class GraphQL::Introspection::DirectiveType

Public Instance Methods

args(include_deprecated:) click to toggle source
# File lib/graphql/introspection/directive_type.rb, line 24
def args(include_deprecated:)
  args = @context.warden.arguments(@object)
  args = args.reject(&:deprecation_reason) unless include_deprecated
  args
end