Skip to content

Commit

Permalink
proto: disallow client streaming apis
Browse files Browse the repository at this point in the history
Some environments have difficultly supporting client streaming apis (eg
grpc-web) and as such we should disallow these in order to be able to
support the most number of clients possible.
  • Loading branch information
bmwill committed Jan 22, 2025
1 parent bd62019 commit 4d410ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/sui-rpc-api/buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ modules:
lint:
use:
- STANDARD
# Disallow client streaming apis since many clients (eg grpc-web)
# cannot properly handle client side streaming requests.
- RPC_NO_CLIENT_STREAMING
ignore_only:
PACKAGE_VERSION_SUFFIX:
- proto/sui.types.proto
Expand Down

0 comments on commit 4d410ec

Please sign in to comment.