Module: GraphQL::Schema::HasSingleInputArgument
- Included in:
- RelayClassicMutation
- Defined in:
- lib/graphql/schema/has_single_input_argument.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
19 20 21 22 |
# File 'lib/graphql/schema/has_single_input_argument.rb', line 19 def call @prepared_arguments = flatten_arguments(@prepared_arguments) super end |
#resolve_with_support(**inputs) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/graphql/schema/has_single_input_argument.rb', line 6 def resolve_with_support(**inputs) input_kwargs = flatten_arguments(inputs) if !input_kwargs.empty? super(**input_kwargs) else super() end end |