Skip to content

Expose commit/rollback via bridge apis#193

Merged
JoeCap08055 merged 8 commits intomainfrom
feat/expose-commit-rollback-to-bridge-apis
Apr 2, 2024
Merged

Expose commit/rollback via bridge apis#193
JoeCap08055 merged 8 commits intomainfrom
feat/expose-commit-rollback-to-bridge-apis

Conversation

@JoeCap08055
Copy link
Copy Markdown
Collaborator

Goal

The goal of this PR is to expose GraphSDK's commit/rollback functionality to the Bridge APIs (currently only available via native Rust API)

  • Add disable_auto_commit flag to ActionOptions, have apply_actions honor it
  • Expose commit/rollback to Node.js, Java, and C APIs

Closes #192

Checklist

  • Tests added

@JoeCap08055
Copy link
Copy Markdown
Collaborator Author

I'll sync this from main once #191 is merged

@saraswatpuneet
Copy link
Copy Markdown
Contributor

Should we do this after the stable release?

Copy link
Copy Markdown
Collaborator

@aramikm aramikm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for adding this. A couple of nits and I think we might also need a small test on java side to ensure jni works

@JoeCap08055 JoeCap08055 merged commit a04476c into main Apr 2, 2024
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.

Bridge APIs do not expose commit/rollback

3 participants