-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🦴 Update bones: don't reprint previous messages (#44)
Update bones output, don't re-print messages already processed. This is an extension in response to a real world example where the bones files ended up being several hundred mega bytes large. While at it, offer an even more minimal output, setting up files with appropriate file names and fully qualified request and response parameter types without any further zero values. This merges the following commits: * Fix Makefile * Run go mod tidy * Add log messages to bones * Update bones output, don't re-print messages already processed * Add minimal message exemplar Makefile | 28 ++- bones/exemplar.go | 107 ++++++--- bones/generate.go | 15 +- bones/generate_test.go | 18 +- .../exemplar.Exemplar.Sample.js | 25 +- .../exemplar.Exemplar.Sample.jsonnet | 25 +- .../exemplar.Exemplar.WellKnown.js | 110 +++++++++ .../exemplar.Exemplar.WellKnown.jsonnet | 108 +++++++++ .../exemplar.Exemplar.Sample.js | 14 ++ .../exemplar.Exemplar.Sample.jsonnet | 12 + .../exemplar.Exemplar.WellKnown.js | 14 ++ .../exemplar.Exemplar.WellKnown.jsonnet | 12 + .../exemplar.Exemplar.WellKnown.js | 214 ------------------ .../exemplar.Exemplar.WellKnown.jsonnet | 212 ----------------- .../exemplar.Exemplar.Sample.js | 25 +- .../exemplar.Exemplar.Sample.jsonnet | 25 +- .../exemplar.Exemplar.WellKnown.js | 110 +++++++++ .../exemplar.Exemplar.WellKnown.jsonnet | 108 +++++++++ .../exemplar.Exemplar.Sample.js | 14 ++ .../exemplar.Exemplar.Sample.jsonnet | 12 + .../exemplar.Exemplar.WellKnown.js | 14 ++ .../exemplar.Exemplar.WellKnown.jsonnet | 12 + .../exemplar.Exemplar.WellKnown.js | 214 ------------------ .../exemplar.Exemplar.WellKnown.jsonnet | 212 ----------------- .../greet.Greeter.Hello.js | 4 +- .../greet.Greeter.Hello.jsonnet | 4 +- .../greet.Greeter.HelloBidiStream.js | 4 +- .../greet.Greeter.HelloBidiStream.jsonnet | 4 +- .../greet.Greeter.HelloClientStream.js | 4 +- .../greet.Greeter.HelloClientStream.jsonnet | 4 +- .../greet.Greeter.HelloServerStream.js | 4 +- .../greet.Greeter.HelloServerStream.jsonnet | 4 +- .../greet.Greeter.Hello.js | 14 ++ .../greet.Greeter.Hello.jsonnet | 12 + .../greet.Greeter.HelloBidiStream.js | 16 ++ .../greet.Greeter.HelloBidiStream.jsonnet | 14 ++ .../greet.Greeter.HelloClientStream.js | 16 ++ .../greet.Greeter.HelloClientStream.jsonnet | 14 ++ .../greet.Greeter.HelloServerStream.js | 16 ++ .../greet.Greeter.HelloServerStream.jsonnet | 14 ++ .../greet.Greeter.Hello.js | 4 +- .../greet.Greeter.Hello.jsonnet | 4 +- .../greet.Greeter.HelloBidiStream.js | 4 +- .../greet.Greeter.HelloBidiStream.jsonnet | 4 +- .../greet.Greeter.HelloClientStream.js | 4 +- .../greet.Greeter.HelloClientStream.jsonnet | 4 +- .../greet.Greeter.HelloServerStream.js | 4 +- .../greet.Greeter.HelloServerStream.jsonnet | 4 +- .../greet.Greeter.Hello.js | 14 ++ .../greet.Greeter.Hello.jsonnet | 12 + .../greet.Greeter.HelloBidiStream.js | 16 ++ .../greet.Greeter.HelloBidiStream.jsonnet | 14 ++ .../greet.Greeter.HelloClientStream.js | 16 ++ .../greet.Greeter.HelloClientStream.jsonnet | 14 ++ .../greet.Greeter.HelloServerStream.js | 16 ++ .../greet.Greeter.HelloServerStream.jsonnet | 14 ++ go.mod | 1 - go.sum | 2 - log/log.go | 2 + main.go | 38 +++- main_test.go | 5 +- serve/httprule/server_test.go | 5 +- serve/server_test.go | 3 +- 63 files changed, 976 insertions(+), 1036 deletions(-) Pull-Request: #44
- Loading branch information
Showing
63 changed files
with
976 additions
and
1,036 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
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
Oops, something went wrong.