lib/hanami/model/plugins/schema.rb in hanami-model-0.7.0 vs lib/hanami/model/plugins/schema.rb in hanami-model-1.0.0.beta1
- old
+ new
@@ -13,10 +13,10 @@
class InputWithSchema < WrappingInput
# @since 0.7.0
# @api private
def initialize(relation, input)
super
- @schema = relation.schema_hash
+ @schema = relation.input_schema
end
# Processes the input
#
# @since 0.7.0