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

Use Dry::Types extensions to reduce boilerplate #5

Open
rschifflin opened this issue Apr 14, 2020 · 0 comments
Open

Use Dry::Types extensions to reduce boilerplate #5

rschifflin opened this issue Apr 14, 2020 · 0 comments

Comments

@rschifflin
Copy link
Collaborator

We currently use the rather ugly .to_monad.extend(ResultExt) to transform Dry.rb's Dry::Types::Result to a Dry::Monad::Result to a Mirren::Result. This could be handled in one step cleanly using a custom extension to Dry::Types instead

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

No branches or pull requests

1 participant