Skip to content

Adding test utilities to create Value types #2680

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

for (let i = 0; i < entries.length; i += 2) {
result.mapValue!.fields![entries[i] as string] = valueOf(
entries[i + 1],
/* useProto3Json= */ false
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious: why is it OK to set it to always false here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For now, this is a test utility only. The best I can tell you that we will find out soon if it indeed is ok.

@wu-hui wu-hui assigned schmidt-sebastian and unassigned wu-hui Feb 26, 2020
@schmidt-sebastian schmidt-sebastian merged commit 251a980 into mrschmidt/rewritefieldvalue Feb 26, 2020
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/rewritefieldvalue-3 branch February 28, 2020 23:03
@firebase firebase locked and limited conversation to collaborators Mar 28, 2020
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