-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Documentation improvement #115
Comments
hey @thibpoullain, Can you provide links that helped you? I'm sure it'll help other people! Also, what kind of example do you think might help others? |
Hi @nicolas-besnard, Sure, I gather the links and I'll post them here ! |
👍 e.g. this minimal example worked in 0.12.1 ###
class MyOp include Dry::Transaction::Operation
def call(input)
Success(input)
rescue
Failure('Failure in my_op')
end
end
###
module MyContainer
class << self
def container
{ my_op: MyOp.new }
end
end
end
###
class MyTransaction
include Dry::Transaction(container: MyContainer.container)
step :my_op
end In 0.13.0, we get: Dry::Transaction::MissingStepError (Definition for step + |
Hi guys,
Thanks for your work ! Could it be possible to write a little bit more documentation (exemples, etc.), because it's very very light. Hard and almost impossible to get in without exemples on google.
Thx again ! :)
The text was updated successfully, but these errors were encountered: