Commit 5a56dee
Bug fix for edition 2024 visibility checking. Visibility checking was not properly applied to service method input and output types. This is now applied properly and will error if method input/output types do not have visibility to those messages.
NOTE: this is a potentially breaking change. method input or output types outside of the same file as an RPC service, which have been set to 'local' either explicitly or by default will need to be marked `export` to avoid proto compile errors. This should be rare as visibility is not widely adopted.
PiperOrigin-RevId: 8887625381 parent 967e8d5 commit 5a56dee
2 files changed
Lines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8280 | 8280 | | |
8281 | 8281 | | |
8282 | 8282 | | |
| 8283 | + | |
| 8284 | + | |
| 8285 | + | |
| 8286 | + | |
| 8287 | + | |
8283 | 8288 | | |
8284 | 8289 | | |
8285 | 8290 | | |
| |||
8302 | 8307 | | |
8303 | 8308 | | |
8304 | 8309 | | |
| 8310 | + | |
| 8311 | + | |
| 8312 | + | |
| 8313 | + | |
| 8314 | + | |
8305 | 8315 | | |
8306 | 8316 | | |
8307 | 8317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13905 | 13905 | | |
13906 | 13906 | | |
13907 | 13907 | | |
| 13908 | + | |
| 13909 | + | |
| 13910 | + | |
| 13911 | + | |
| 13912 | + | |
| 13913 | + | |
| 13914 | + | |
| 13915 | + | |
| 13916 | + | |
| 13917 | + | |
| 13918 | + | |
| 13919 | + | |
| 13920 | + | |
| 13921 | + | |
| 13922 | + | |
| 13923 | + | |
| 13924 | + | |
| 13925 | + | |
| 13926 | + | |
| 13927 | + | |
| 13928 | + | |
| 13929 | + | |
| 13930 | + | |
| 13931 | + | |
| 13932 | + | |
| 13933 | + | |
| 13934 | + | |
| 13935 | + | |
| 13936 | + | |
| 13937 | + | |
| 13938 | + | |
| 13939 | + | |
| 13940 | + | |
| 13941 | + | |
| 13942 | + | |
| 13943 | + | |
| 13944 | + | |
| 13945 | + | |
| 13946 | + | |
| 13947 | + | |
| 13948 | + | |
| 13949 | + | |
| 13950 | + | |
| 13951 | + | |
| 13952 | + | |
| 13953 | + | |
| 13954 | + | |
| 13955 | + | |
13908 | 13956 | | |
13909 | 13957 | | |
13910 | 13958 | | |
| |||
0 commit comments