Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/zmodel-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ model User {
##### @@meta

```zmodel
attribute @meta(_ name: String, _ value: Any)
attribute @@meta(_ name: String, _ value: Any)
```

Adds arbitrary metadata to a model. The metadata can be accessed by custom plugins for code generation, or at runtime from the `modelMeta` object exported from `@zenstackhq/runtime/model-meta`. The `value` parameter can be an arbitrary literal expression, including object literals.
Expand Down