-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt globally reserved field numbers for FieldOptions. (#762)
* Adopt globally reserved field numbers for FieldOptions. * (M) proto/yext/yext.{proto,pb.go} - Ensure that we use globally reserved field numbers for the FieldOptions for these new annotations. * Add update script and re-generate protobufs. * Regenerate exschemapath.pb.go with new field numbers.
- Loading branch information
Showing
8 changed files
with
1,068 additions
and
994 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
298 changes: 150 additions & 148 deletions
298
protomap/integration_tests/testdata/gribi_aft/enums/enums.pb.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,694 changes: 869 additions & 825 deletions
1,694
protomap/integration_tests/testdata/gribi_aft/gribi_aft.pb.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2023 Google Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# To remove the dependency on GOPATH, we locally cache the protobufs that | ||
# we need as dependencies during build time with the intended paths. | ||
|
||
if [ -z $SRCDIR ]; then | ||
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
SRC_DIR=${THIS_DIR}/../../.. | ||
fi | ||
|
||
cd ${SRC_DIR} | ||
protoc -I${SRC_DIR} -I ${SRC_DIR}/../../.. --go_out=. --go_opt=paths=source_relative ${SRC_DIR}/protomap/integration_tests/testdata/gribi_aft/gribi_aft.proto | ||
protoc -I${SRC_DIR} -I ${SRC_DIR}/../../.. --go_out=. --go_opt=paths=source_relative ${SRC_DIR}/protomap/integration_tests/testdata/gribi_aft/enums/enums.proto |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.