Skip to content
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

Add new field to DocumentData to provide type hint for null #68

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

adrw
Copy link
Collaborator

@adrw adrw commented Nov 3, 2020

Up until now, Kotlin DocumentData converted to Proto would default to assuming String values when all value_ fields are null, but we can do better. This new proto field provides the type hint in the cases of a DocumentData class with a nullable field set to null converted to proto.

@adrw adrw merged commit f042d00 into master Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants