Open alexeevit opened 10 months ago
@alexeevit to solve this problem, you can create a file app/contracts/application_contract.rb with:
# frozen_string_literal: true
# Base class for contracts
#
# @abstract
class ApplicationContract < Dry::Rails::Features::ApplicationContract
end
@alexeevit to solve this problem, you can create a file app/contracts/application_contract.rb with:
# frozen_string_literal: true # Base class for contracts # # @abstract class ApplicationContract < Dry::Rails::Features::ApplicationContract end
Indeed, I can. It's just a good thing to report a bug
Describe the bug
Hey, I ran into an issue when with a clean setup I don't have defined ApplicationContract. This is my first time using
dry-rails
, maybe I'm doing something wrong? Demo app link is below.UPD:
To Reproduce
Demo app
My environment