Skip to content

Add application note for explicit presence tracking. - #7390

Merged
dlj-NaN merged 3 commits into
protocolbuffers:masterfrom
dlj-NaN:appnote
Apr 23, 2020
Merged

dlj-NaN merged 3 commits into
protocolbuffers:masterfrom
dlj-NaN:appnote

Conversation

@dlj-NaN

@dlj-NaN dlj-NaN commented Apr 16, 2020

Copy link
Copy Markdown
Contributor

Singular, non-message typed fields in proto3 experimentally support explicit presence tracking (see docs/field_presence.md for details).

This includes instructions for enabling explicit presence tracking in proto3, and also explains implicit presence. The language examples were written by inspection, and not individually tested.

@haberman haberman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I haven't been able to get through all of this yet, but a few preliminary comments.

Comment thread docs/field_presence.md Resolved
Comment thread docs/field_presence.md Resolved

@haberman haberman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the update! I went through the rest of the doc and found a few more things.

Comment thread docs/field_presence.md Resolved
Comment thread docs/field_presence.md Resolved
Comment thread docs/field_presence.md Resolved
Comment thread docs/field_presence.md Resolved
Comment thread docs/field_presence.md Resolved
Comment thread docs/field_presence.md Resolved
Comment thread docs/field_presence.md Resolved
Comment thread docs/field_presence.md Resolved
 - noted experimental status in release 3.12
 - clarified JSON null and ordering concerns
 - "implicit presence" -> "no presence"
 - clarified message presence in proto3
 - fixed round-trip example (client definitions were switched)
@dlj-NaN
dlj-NaN merged commit e48c929 into protocolbuffers:master Apr 23, 2020
@dlj-NaN
dlj-NaN deleted the appnote branch April 23, 2020 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants