aip-dev / google.aip.dev

API Improvement Proposals. https://aip.dev/
Other
1.08k stars 495 forks source link

Explain that making a field optional is a breaking change in Go #1364

Closed jskeet closed 4 months ago

jskeet commented 4 months ago

This may already be present somewhere, but I don't see it in https://google.aip.dev/180.

Making a field proto3-optional (i.e. introducing explicit field presence) - or removing field presence - is a breaking change in Go. We should say so.

Assigning to Noah initially as he may already know where this is documented.

noahdietz commented 4 months ago

Yeah I'm surprised we don't have this documented yet - thanks for calling it out. #1366