Skip to content

Commit db25135

Browse files
Opaque API Migration: explicitly mention re-compile step
PiperOrigin-RevId: 818725016
1 parent 875ad1b commit db25135

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/reference/go/opaque-migration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ Use the `open2opaque` tool to switch your `.proto` files to the Hybrid API:
112112
open2opaque setapi -api HYBRID $(find . -name "*.proto")
113113
```
114114
115+
Then,
116+
[re-compile](/getting-started/gotutorial#compiling-protocol-buffers)
117+
your protocol buffers.
118+
115119
Your existing code will continue to build. The Hybrid API is a step between the
116120
Open and Opaque API which adds the new accessor methods but keeps struct fields
117121
visible.

0 commit comments

Comments
 (0)