bynk.store.unknown_annotation
Error A store field carries an annotation outside the closed @indexed/@ttl/@retain/@bounded set.
A store field takes one of four annotations: @indexed, @ttl, @retain and @bounded. The set is closed, so a name outside it, usually a misspelling or one borrowed from another system, is refused rather than ignored. Use the annotation that says what you mean: @retain for how long a Log keeps entries, @ttl for a Cache. A known one on the wrong kind is bynk.store.annotation_kind_mismatch.
Example
store audit: Log[String] @keep(7.days) // ✗ not a storage annotation
store audit: Log[String] @retain(7.days) // ✓ how long a `Log` keeps entriesIn the Book
See also
- Every code in its category, Agent storage, on the diagnostic index.
bynk explain bynk.store.unknown_annotationshows the same from the installed toolchain, without a network.