Skip to content

Commit 7859f5c

Browse files
authored
minor fixes (#476)
* docs: release 2.17.0 * add `@meta` and `@@meta` docs * update
1 parent 3ddf6bb commit 7859f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/zmodel-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ model User {
958958
attribute @meta(_ name: String, _ value: Any)
959959
```
960960

961-
Adds arbitrary metadata to a field. 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.
961+
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.
962962

963963
```zmodel
964964
model User {

0 commit comments

Comments
 (0)