{"action":"created","issue":{"url":"https://api.github.com/repos/trailblazer/reform/issues/464","repository_url":"https://api.github.com/repos/trailblazer/reform","labels_url":"https://api.github.com/repos/trailblazer/reform/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/trailblazer/reform/issues/464/comments","events_url":"https://api.github.com/repos/trailblazer/reform/issues/464/events","html_url":"https://github.com/trailblazer/reform/issues/464","id":362614539,"node_id":"MDU6SXNzdWUzNjI2MTQ1Mzk=","number":464,"title":"undefined method `Form' for Dry::Validation:Module ","user":{"login":"efrendiaz","id":2447,"node_id":"MDQ6VXNlcjI0NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/2447?v=4","gravatar_id":"","url":"https://api.github.com/users/efrendiaz","html_url":"https://github.com/efrendiaz","followers_url":"https://api.github.com/users/efrendiaz/followers","following_url":"https://api.github.com/users/efrendiaz/following{/other_user}","gists_url":"https://api.github.com/users/efrendiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/efrendiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efrendiaz/subscriptions","organizations_url":"https://api.github.com/users/efrendiaz/orgs","repos_url":"https://api.github.com/users/efrendiaz/repos","events_url":"https://api.github.com/users/efrendiaz/events{/privacy}","received_events_url":"https://api.github.com/users/efrendiaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-21T13:23:12Z","updated_at":"2018-10-10T13:13:01Z","closed_at":null,"author_association":"NONE","body":"Note: If you have a question about Reform, would like help using\r\nReform, want to request a feature, or do anything else other than\r\nsubmit a bug report, please use the [Trailblazer gitter channel](https://gitter.im/trailblazer/chat).\r\n\r\nNote: Rails/ ActiveRecord/ ActiveModel support.\r\nAs of Reform 2.2.0 all Rails/ Active-* code was moved to the [reform-rails](https://github.com/trailblazer/reform-rails) gem.\r\nMake sure you are contributing to the correct gem!\r\n\r\n### Complete Description of Issue\r\n\r\nWhen you use reform dry on validations you get this error\r\n\r\n` undefined method `Form' for Dry::Validation:Module `\r\n\r\nI did some research and Form was renamed to Params in https://github.com/dry-rb/dry-validation/blob/1d0dcd30fd46a85654edda9389eb484f2eb2a0cc/CHANGELOG.md\r\n\r\n\r\n### Steps to reproduce\r\n\r\nJust try to use reform dry validation on a command with the latest trailblazer \r\n\r\n### Expected behavior\r\n\r\nDon't get an error\r\n\r\n### Actual behavior\r\ngetting this error ` undefined method `Form' for Dry::Validation:Module `\r\n\r\n### System configuration\r\n**Reform version**:\r\nreform-2.2.4\r\n### Full Backtrace of Exception (if any)\r\n\r\nFailure/Error:\r\n  validation do\r\n    required(:email).filled\r\n    required(:password).filled\r\n  end\r\n\r\n``` NoMethodError:\r\n  undefined method `Form' for Dry::Validation:Module\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/reform-2.2.4/lib/reform/form/dry.rb:48:in `initialize'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/reform-2.2.4/lib/reform/form/dry.rb:33:in `new'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/reform-2.2.4/lib/reform/form/dry.rb:33:in `instance_exec'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/reform-2.2.4/lib/reform/validation.rb:15:in `validation'\r\n# ./app/concepts/user/contract/create.rb:11:in `<class:Create>'\r\n# ./app/concepts/user/contract/create.rb:5:in `<module:Contract>'\r\n# ./app/concepts/user/contract/create.rb:4:in `<main>'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:374:in `block in require_or_load'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:37:in `block in load_interlock'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:14:in `block in loading'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies/interlock.rb:13:in `loading'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:37:in `load_interlock'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:352:in `require_or_load'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:330:in `depend_on'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/active_support.rb:59:in `depend_on'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:244:in `require_dependency'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/trailblazer-rails-1.0.9/lib/trailblazer/rails/railtie/loader.rb:25:in `block in load_for'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/trailblazer-loader-0.1.2/lib/trailblazer/loader.rb:79:in `block in load_files'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/trailblazer-loader-0.1.2/lib/trailblazer/loader.rb:79:in `each'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/trailblazer-loader-0.1.2/lib/trailblazer/loader.rb:79:in `load_files'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/trailblazer-loader-0.1.2/lib/trailblazer/loader.rb:33:in `call'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/trailblazer-rails-1.0.9/lib/trailblazer/rails/railtie/loader.rb:25:in `load_for'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/trailblazer-rails-1.0.9/lib/trailblazer/rails/railtie/loader.rb:11:in `load_concepts'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/trailblazer-rails-1.0.9/lib/trailblazer/rails/railtie/loader.rb:49:in `block (3 levels) in <module:Loader>'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:426:in `instance_exec'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:426:in `block in make_lambda'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:605:in `catch'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:605:in `block in default_terminator'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:199:in `block in halting'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:513:in `block in invoke_before'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:513:in `each'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:513:in `invoke_before'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:131:in `run_callbacks'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/reloader.rb:89:in `prepare!'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/application/finisher.rb:63:in `block in <module:Finisher>'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/initializable.rb:32:in `instance_exec'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/initializable.rb:32:in `run'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/initializable.rb:60:in `run_initializers'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/application.rb:361:in `initialize!'\r\n# ./config/environment.rb:5:in `<main>'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'\r\n# ./spec/rails_helper.rb:4:in `<main>'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require'\r\n# ./spec/models/device_spec.rb:1:in `<main>'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:50:in `load'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:50:in `load'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:281:in `block in load'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency'\r\n# /Users/efrendiaz/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:281:in `load'```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/trailblazer/reform/issues/comments/428566009","html_url":"https://github.com/trailblazer/reform/issues/464#issuecomment-428566009","issue_url":"https://api.github.com/repos/trailblazer/reform/issues/464","id":428566009,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODU2NjAwOQ==","user":{"login":"aiomaster","id":220197,"node_id":"MDQ6VXNlcjIyMDE5Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/220197?v=4","gravatar_id":"","url":"https://api.github.com/users/aiomaster","html_url":"https://github.com/aiomaster","followers_url":"https://api.github.com/users/aiomaster/followers","following_url":"https://api.github.com/users/aiomaster/following{/other_user}","gists_url":"https://api.github.com/users/aiomaster/gists{/gist_id}","starred_url":"https://api.github.com/users/aiomaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aiomaster/subscriptions","organizations_url":"https://api.github.com/users/aiomaster/orgs","repos_url":"https://api.github.com/users/aiomaster/repos","events_url":"https://api.github.com/users/aiomaster/events{/privacy}","received_events_url":"https://api.github.com/users/aiomaster/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T13:13:01Z","updated_at":"2018-10-10T13:13:01Z","author_association":"NONE","body":"I use the 2.3.x branch and it is working, but I still get the compatibility message:\r\n`[dry-types] Form types were renamed to Params`\r\n\r\nI think this is because we require \"dry/validation/schema/form\" instead of  \"dry/validation/schema/params\"  here:\r\nhttps://github.com/trailblazer/reform/blob/c3afaff7868d49cd6d02578617c3215b724ae3a8/lib/reform/form/dry.rb#L2"}}
{"actor":{"display_login":"aiomaster"}}