Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix after zeitwerkify #142

Merged
merged 2 commits into from
Oct 21, 2022
Merged

Fix after zeitwerkify #142

merged 2 commits into from
Oct 21, 2022

Conversation

kzaitsev
Copy link
Contributor

Since dry-monads was switched to zeitwerk it seems brokes constant name resolving.

This minor patch fixes the initialization issue:

An error occurred while loading spec_helper.
Failure/Error: require "dry/monads/result"

NameError:
  uninitialized constant Dry::Monads::Result::Transformer
# ./lib/dry/transaction.rb:3:in `require'
# ./lib/dry/transaction.rb:3:in `<top (required)>'
# ./lib/dry-transaction.rb:3:in `require'
# ./lib/dry-transaction.rb:3:in `<top (required)>'
# ./spec/spec_helper.rb:11:in `require'
# ./spec/spec_helper.rb:11:in `<top (required)>'
No examples found.

@kzaitsev kzaitsev requested a review from solnic as a code owner October 18, 2022 09:19
@solnic solnic merged commit 4fbe3ae into dry-rb:main Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants