Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
Add description for Order enum type
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarfors committed May 27, 2021
1 parent 812ddd3 commit 664c178
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion store/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ var mapScalar = graphql.NewScalar(graphql.ScalarConfig{
})

var enumOrderBy = graphql.NewEnum(graphql.EnumConfig{
Name: "Order",
Name: "Order",
Description: "The `Order` type is either `asc` or `desc`",
Values: graphql.EnumValueConfigMap{
"asc": &graphql.EnumValueConfig{
Value: 0,
Expand Down

0 comments on commit 664c178

Please sign in to comment.