OxL Reference

@ @readonly

@readonly

Applies to: rpc

Section: §10.2

Syntax

ebnf
Attr        = "@" Path [ "(" [ AttrArgs ] ")" ] ;

Grammar: App. A

Defined in

  • 10.2 rpc attributes — Defaults for all rpcs are set in cluster { defaults { …
  • 16.3 gRPC and protobuf — import proto "payments.proto" generates an extern service and types; calls are as to ordinary services through connect.
  • 10.1 Services — A service declares a contract

Related diagnostics

attribute-not-applicable, cache-not-readonly, invalid-window, retry-not-idempotent, rpc-attr, import-skip, duplicate-impl, impl-signature-mismatch, missing-impl, missing-rpc-impl, unknown-rpc

See also