diff --git a/examples/Gemfile b/examples/Gemfile index 9c543b77..38523465 100644 --- a/examples/Gemfile +++ b/examples/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' gem 'temporal-ruby', path: '../' -gem 'dry-types', '>= 1.2.0' -gem 'dry-struct', '~> 1.1.1' +gem 'dry-types', '>= 1.7.2' +gem 'dry-struct', '~> 1.6.0' gem 'rspec', group: :test diff --git a/lib/temporal/concerns/typed.rb b/lib/temporal/concerns/typed.rb index 2a05f144..0b8c6702 100644 --- a/lib/temporal/concerns/typed.rb +++ b/lib/temporal/concerns/typed.rb @@ -32,7 +32,7 @@ def input(klass = nil, &block) private def generate_struct - Class.new(Dry::Struct::Value) { transform_keys(&:to_sym) } + Class.new(Dry::Struct) { transform_keys(&:to_sym) } end end end