lib/graphql/relay/node.rb in graphql-1.9.17 vs lib/graphql/relay/node.rb in graphql-1.9.18
- old
+ new
@@ -9,20 +9,20 @@
# its name will be modified and its description
# _may_ be modified.
field = GraphQL::Types::Relay::NodeField.graphql_definition
if kwargs.any? || block
- field = field.redefine(kwargs, &block)
+ field = field.redefine(**kwargs, &block)
end
field
end
def self.plural_field(**kwargs, &block)
field = GraphQL::Types::Relay::NodesField.graphql_definition
if kwargs.any? || block
- field = field.redefine(kwargs, &block)
+ field = field.redefine(**kwargs, &block)
end
field
end