-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: get end-to-end CRUD journey, fix grpc (#20)
The example server new supports an end-to-end CRUD flow of creating, reading, updating, and deleting a resource. This serves as a great illustrative example of a resource-oriented API as well as validating the function of the test server. grpc gateway integration was also broken when the generated file structure was changed, so that is now fixed. also fixing tests by making field order idempotent.
- Loading branch information
1 parent
485603d
commit 2ef9391
Showing
16 changed files
with
391 additions
and
295 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -19,11 +19,15 @@ jobs: | |
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Verify no change to generated files. | ||
- name: "test: no change to generated files." | ||
run: | | ||
go install github.com/bufbuild/buf/cmd/[email protected] | ||
./scripts/verify-goldens.sh | ||
- name: "test: example server function" | ||
run: | | ||
./scripts/test_http_api.sh | ||
# - name: Run script | ||
# run: | | ||
# ./scripts/run-api-linter.sh |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.