-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(firestore): add WithCommitResponseTo TransactionOption #6967
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
b850276
to
1313b6b
Compare
@telpirion @enocom I was just checking on this. Would either of you be able to provide a code review? Thanks. |
Sorry for the slow response @galenwarren. Ownership of this library has changed in the past few months. Let me reach out to some folks and see who should be looking at this. |
Thanks!
…On Thu, Mar 30, 2023, 11:02 AM Eno Compton ***@***.***> wrote:
Sorry for the slow response @galenwarren <https://github.com/galenwarren>.
Ownership of this library has changed in the past few months. Let me reach
out to some folks and see who should be looking at this.
—
Reply to this email directly, view it on GitHub
<#6967 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF7RBK7HINDLQSRFBEKYTDW6WOBRANCNFSM6AAAAAARST3DG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Reviewing |
@bhshkh Thanks, please let me know if you have any questions or suggestions. |
@bhshkh Hi, just checking in here. Is there any update? Thanks. |
Under discussion internally. Will update |
@bhshkh Is there anything I can do here to help? |
Is this one not going to get merged? |
@bhshkh is this something we want to support? |
If anyone would like me to rebase, just let me know. Thanks! |
Sorry for the very delayed response. Reviewing this |
One problem I see with the current design is that it is not extendable. This is what the commit response looks like
Apart from CommitTime field, there is another field called WriteResults. If/when in the future, we want to support retrieving WriteResults, we will have to introduce another transaction option and so on and so forth for any more fields added to the above struct. Another thing is that the name |
To minimize friction, consider setting |
Side note: Found the reason. #10824 (comment) |
Sorry for late response. |
Unable to merge. This branch is out-of-date with the base branch |
@galenwarren , can you please recreate this PR from personal fork so that I have permissions to update the branch ? |
@bhshkh I'd really like to avoid recreating the PR if possible. I've invited you to (temporarily) be a collaborator (writer) on the project in my organization, does that get you what you need? |
Sorry, I can't accept the invite |
@bhshkh Do you mean it doesn't work or you're not allowed, by policy or something like that? EDIT: Also, could I just push the "Update Branch" button for you, to sync to base branch? |
@bhshkh Wasn't sure if you saw my suggestion that I just rebase to main for you? |
I'm not allowed to. Please rebase. I'll actively monitor the PR. Thanks! |
Head branch was pushed to by a user without write access
18458ec
to
975b3b4
Compare
@bhshkh Understood, thanks. I just rebased to main. |
Merged ! |
Excellent - thanks!
…On Tue, Oct 1, 2024, 2:19 PM Baha Aiman ***@***.***> wrote:
Merged !
—
Reply to this email directly, view it on GitHub
<#6967 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF7RBMJBHUUFR7IC7U4GZ3ZZLRTRAVCNFSM6AAAAABJXVN642VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBWGY3TCOBZGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Adds a new
TransactionOption
--GetCommitTime
-- that allows the caller to specify the address of atime.Time
where the commit time of the transaction should be written, upon successful commit.