lib/rails/graphql/field/input_field.rb in rails-graphql-1.0.0.beta vs lib/rails/graphql/field/input_field.rb in rails-graphql-1.0.0.rc1

- old
+ new

@@ -26,14 +26,9 @@ @default = default @default = deserialize(@default) if @default.is_a?(::GQLParser::Token) end - # Prevent input fields from being further configured using a block - def configure - raise ArgumentError, +'Input fields can\'t be further configured using blocks' - end - # Allow change the default value for the input def apply_changes(**xargs, &block) @default = xargs[:default] if xargs.key?(:default) super end