OxL Справочник OxL
РусскийEnglish

error attribute-not-applicable

error Стандарт: [§10.2]

Атрибут не применим к этому rpc.

What it means#

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

Example#

oxl✓ проверяется в 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 · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства