error attribute-not-applicable
What it means#
@window and @resumable act on streams (-> stream<T>); on a unary rpc they have no meaning.
Example#
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.