File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ generated code.
44
44
transformed by substituting hyphens (`-`) for underscores (`_`), emitted in
45
45
lowercase, and parsed case-insensitively.
46
46
47
+ Although gRPC-json transcoding often translates snake_case names to camelCase,
48
+ this variance can force additional complexity server-side to translate the
49
+ values in contexts such as in filter syntax.
50
+
47
51
#### Support for lowerCamelCase in clients
48
52
49
53
[ProtoJSON][proto-json] and [gRPC-Gateway][grpc-gateway] by default both
Original file line number Diff line number Diff line change @@ -48,13 +48,10 @@ message CreateBookRequest {
48
48
49
49
- [`aep.api.IdempotencyKey`][IdempotencyKey] has a `key` and a `first_sent`
50
50
timestamp.
51
-
52
51
- `key` is simply a unique identifier.
53
52
54
53
- Providing an idempotency key **must** guarantee idempotency.
55
-
56
54
- If a duplicate request is detected, the server **must** return one of:
57
-
58
55
- A response equivalent to the response for the previously successful
59
56
request, because the client most likely did not receive the previous
60
57
response.
@@ -75,7 +72,6 @@ message CreateBookRequest {
75
72
76
73
- The `idempotency_key` field **must** be provided on the request message to
77
74
which it applies (and it **must not** be a field on resources themselves).
78
-
79
75
- The `first_sent` field can be used by API servers to determine if a key is
80
76
expired. API servers **must** reject requests with expired keys, and
81
77
**must** reject requests with keys that are in the future. When feasible,
You can’t perform that action at this time.
0 commit comments