Skip to content

Commit

Permalink
Merge pull request #285 from greis/patch-1
Browse files Browse the repository at this point in the history
Add documentation for hash_key option on field
  • Loading branch information
Robert Mosolgo authored Sep 29, 2016
2 parents 9828453 + 87404aa commit ca91964
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guides/defining_your_schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ field :name, types.String, "The name of this thing",
property: :given_name,
# Count this field as "10" when assessing the cost of running a query
complexity: 10
# Specify the hash key when the object being defined is a Hash:
hash_key: :name
```

### Block Definition
Expand Down

0 comments on commit ca91964

Please sign in to comment.