Skip to content

Commit

Permalink
Update enums.md with cultural reference (#2974)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
kyle-query and pre-commit-ci[bot] authored Jul 24, 2023
1 parent 55af76d commit bb35e09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/types/enums.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ and verbose syntax.
@strawberry.enum
class IceCreamFlavour(Enum):
VANILLA = strawberry.enum_value("vanilla")
STRAWBERRY = strawberry.enum_value("strawberry", deprecation_reason="We ran out")
CHOCOLATE = "chocolate"
STRAWBERRY = strawberry.enum_value(
"strawberry", deprecation_reason="Let's call the whole thing off"
)
```

0 comments on commit bb35e09

Please sign in to comment.