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

Make transaction options available at Rom-extension #31

Open
wuarmin opened this issue Feb 26, 2025 · 1 comment
Open

Make transaction options available at Rom-extension #31

wuarmin opened this issue Feb 26, 2025 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@wuarmin
Copy link

wuarmin commented Feb 26, 2025

Hey 👋 ,

dry-operation is simply great. Thank you.
I would need the possibility to pass the opts to the transaction:

I.e.

def call
  transaction(savepoint: true, auto_savepoint: true) do
    step create_record
    step failure
  end
end

What do you think? Is there a reason why they are not yet available? It is possible with the sequel extension.

Thanks!

@waiting-for-dev
Copy link
Member

Thank you, @wuarmin 🙏

Yeah, there's a reason for that. If I'm correct, we'd first need to do some changes in rom itself. Please, see #15 (comment)

@timriley timriley added the help wanted Extra attention is needed label Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants