class GraphQL::Schema::InputObject::ArgumentsAreRequiredError
Raised when an InputObject doesn’t have any arguments defined and hasn’t explicitly opted out of this requirement
Public Class Methods
Source
# File lib/graphql/schema/input_object.rb, line 16 def initialize(input_object_type) message = "Input Object types must have arguments, but #{input_object_type.graphql_name} doesn't have any. Define an argument for this type, remove it from your schema, or add `has_no_arguments(true)` to its definition." super(message) end
Calls superclass method