Skip to content

Add updateDoc() #3148

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

Merged
merged 75 commits into from
Jun 5, 2020
Merged

Add updateDoc() #3148

merged 75 commits into from
Jun 5, 2020

Conversation

schmidt-sebastian
Copy link
Contributor

See

typeof fieldOrUpdateData === 'string' ||

reference: firestore.DocumentReference<T>,
data: Partial<T>,
options: firestore.SetOptions
): Promise<void>;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding these overloads allows us to simulator more realtime usage in the integration tests as it removes the availability of the "catch all" API.

Copy link
Contributor

@rafikhan rafikhan left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from mrschmidt/adddoc to master June 5, 2020 03:15
@schmidt-sebastian schmidt-sebastian merged commit e593601 into master Jun 5, 2020
@firebase firebase locked and limited conversation to collaborators Jul 6, 2020
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/updatedoc branch November 9, 2020 22:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants