OxL Reference

error attribute-not-applicable

error Standard: [§10.2]

What it means#

@window and @resumable act on streams (-> stream<T>); on a unary rpc they have no meaning.

Example#

oxl✓ checked in CI
service S {
  @window(8)            // <- attribute-not-applicable
  rpc get() -> i32
}
error
attribute-not-applicable

How to fix#

Remove the attribute or make the rpc a stream.

See also#

OxL 1.0.0-beta · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides