Skip to content

Commit

Permalink
Add example for #927
Browse files Browse the repository at this point in the history
  • Loading branch information
timostamm committed Jul 8, 2024
1 parent 6fc8a04 commit bacb17a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MANUAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,7 @@ UserSchema.field.firstName.name; // "first_name"
UserSchema.field.firstName.number; // 1

PhoneTypeSchema.typeName; // example.PhoneType
PhoneTypeSchema.value[PhoneType.MOBILE].name; // "PHONE_TYPE_MOBILE"
PhoneTypeSchema.values.map((value) => value.name);
// ["PHONE_TYPE_UNSPECIFIED", "PHONE_TYPE_MOBILE", "PHONE_TYPE_LAND_LINE"]
```
Expand Down

0 comments on commit bacb17a

Please sign in to comment.