-
Notifications
You must be signed in to change notification settings - Fork 109
test: Ensure datastore transforms are working for transactions #1412
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
Conversation
…into 404540305-datastore-mode-data-transforms
…into 404540305-datastore-mode-data-transforms
@@ -0,0 +1,42 @@ | |||
// Copyright 2025 Google LLC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file provides a mocked version of datastore that collects outgoing requests so that we can look at those requests in assert statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The base branch was changed.
…into fix-transaction-spy # Conflicts: # system-test/datastore.ts
Description
This PR is a follow-up to the PR #1369 which adds datastore transforms support when the user does datastore.save. It turns out that for saves with transactions no further source code changes are required because transactions call the save method so this PR simply adds some tests for transactions that save with transforms.
Impact
Ensures datastore transforms work with transactions
Testing
Added tests where datastore transforms work with transactions.