Skip to content

Add explicit FieldValue canonicalization #2687

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

Conversation

schmidt-sebastian
Copy link
Contributor

@@ -335,6 +335,88 @@ function compareMaps(left: api.MapValue, right: api.MapValue): number {
return primitiveComparator(leftKeys.length, rightKeys.length);
}

/**
* Generate the canonical ID for the provided field value (as used in Target
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Generates the ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@wu-hui wu-hui assigned schmidt-sebastian and unassigned wu-hui Mar 2, 2020
@schmidt-sebastian schmidt-sebastian changed the base branch from mrschmidt/rewritefieldvalue-6 to mrschmidt/rewritefieldvalue March 4, 2020 23:32
@schmidt-sebastian schmidt-sebastian merged commit 346af4c into mrschmidt/rewritefieldvalue Mar 4, 2020
@firebase firebase locked and limited conversation to collaborators Apr 4, 2020
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/rewritefieldvalue-8 branch November 9, 2020 22:39
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.

2 participants