Skip to content

Commit e988b44

Browse files
Protocol Buffer TeamLogofile
authored andcommitted
This documentation change addresses merge conflicts.
PiperOrigin-RevId: 663425236 Change-Id: Idb326bb419539b15e55cafec1d279bad8a7e45d1
1 parent a8c8a11 commit e988b44

File tree

2 files changed

+4
-20
lines changed

2 files changed

+4
-20
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,13 @@ jobs:
1414
contents: write
1515
runs-on: ubuntu-22.04
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v3
1818
with:
1919
submodules: true # Fetch Hugo themes (true OR recursive)
2020
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2121

22-
- uses: actions/setup-node@v4
23-
with:
24-
node-version: 20
25-
2622
- name: Setup Hugo
27-
uses: peaceiris/actions-hugo@v3
23+
uses: peaceiris/actions-hugo@v2
2824
with:
2925
hugo-version: 0.121.2
3026
extended: true
@@ -36,7 +32,7 @@ jobs:
3632
run: hugo --minify
3733

3834
- name: Deploy
39-
uses: peaceiris/actions-gh-pages@v4
35+
uses: peaceiris/actions-gh-pages@v3
4036
if: github.ref == 'refs/heads/main'
4137
with:
4238
github_token: ${{ secrets.GITHUB_TOKEN }}

content/programming-guides/enum.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,26 +114,14 @@ Under editions, this behavior is represented by the deprecated field feature
114114
[`features.(pb.cpp).legacy_closed_enum`](/editions/features#legacy_closed_enum).
115115
There are two options for moving to conformant behavior:
116116

117-
* Remove the field feature. This is the recommended approach, but may cause
118-
runtime behavior changes. Without the feature, unrecognized integers will
119-
end up stored in the field cast to the enum type instead of being put into
120-
the unknown field set.
121-
* Change the enum to closed. This is discouraged, and can cause runtime
122-
behavior if *anybody else* is using the enum. Unrecognized integers will end
123-
up in the unknown field set instead of those fields.
124-
125-
Under editions, this behavior is represented by the deprecated field feature
126-
[`features.(pb.cpp).legacy_closed_enum`](/editions/features#legacy_closed_enum).
127-
There are two options for moving to conformant behavior:
128-
129117
* Remove the field feature. This is the recommended approach, but may cause
130118
runtime behavior changes. Without the feature, unrecognized integers will
131119
end up stored in the field cast to the enum type instead of being put into
132120
the unknown field set.
133121
* Change the enum to closed. This is discouraged, and can cause runtime
134122
behavior changes if *anybody else* is using the enum. Unrecognized integers
135123
will end up in the unknown field set instead of those fields.
136-
124+
137125
### C# {#csharp}
138126

139127
All known C# releases are out of conformance. C# treats all enums as **open**.

0 commit comments

Comments
 (0)