@ @idempotent
@idempotent
Applies to: rpc
Section: §10.2
Syntax
Attr = "@" Path [ "(" [ AttrArgs ] ")" ] ;Grammar: App. A
Defined in
- 10.2 rpc attributes — Defaults for all rpcs are set in cluster { defaults { …
- 4.9 Attributes — Syntax: @name or @name(arguments) before a declaration, field, parameter or rpc.
- 11.4 Idempotency — @idempotent without arguments uses ctx.idempotencyKey.
- 10.1 Services — A service declares a contract
- 10.6 Pipelines — A pipeline is a linear chain of steps, each of which runs on its own node; data is passed from node to node directly, the caller receives on
- 11.1 Kinds of transactions — Kinds of transactions
- 11.3 Sagas — A saga is a sequence of steps (the step syntax is as in a chain, §8.4); after a step there MAY be undo x => compensation, where x is the res
- 16.3 gRPC and protobuf — import proto "payments.proto" generates an extern service and types; calls are as to ordinary services through connect.
Related diagnostics
attribute-not-applicable, cache-not-readonly, invalid-window, retry-not-idempotent, rpc-attr, deprecated, duplicate-impl, impl-signature-mismatch, missing-impl, missing-rpc-impl, unknown-rpc, pipeline-idempotency, respond-twice, respond-type